Skip to content

Commit

Permalink
CMake: Fix FindRT warning
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
xantares authored Oct 12, 2020
1 parent 1df0014 commit 22ea239
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake-modules/FindRT.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 22ea239

Please sign in to comment.