From 22ea239049f732ccdf45d467125e45003bcab738 Mon Sep 17 00:00:00 2001 From: xantares Date: Mon, 12 Oct 2020 10:42:41 +0200 Subject: [PATCH] CMake: Fix FindRT warning This fixes the following warning: The package name passed to `find_package_handle_standard_args` (rt) does not match the name of the calling package (RT). --- cmake-modules/FindRT.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake-modules/FindRT.cmake b/cmake-modules/FindRT.cmake index 17d5df81d..c397acabd 100644 --- a/cmake-modules/FindRT.cmake +++ b/cmake-modules/FindRT.cmake @@ -16,5 +16,5 @@ set(RT_LIBRARIES ${RT_LIBRARY}) # handle the QUIETLY and REQUIRED arguments and set # RT_FOUND to TRUE if all listed variables are TRUE include(FindPackageHandleStandardArgs) -find_package_handle_standard_args(rt DEFAULT_MSG RT_LIBRARY) +find_package_handle_standard_args(RT DEFAULT_MSG RT_LIBRARY) mark_as_advanced(RT_LIBRARY)