1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-12-23 01:55:48 -05:00

Fixed FindJRTPLib.cmake

This commit is contained in:
f4exb 2018-02-16 11:03:16 +01:00
parent 31c3b11194
commit 22bbc9eecd

View File

@ -1,3 +1,5 @@
if(NOT JRTPLIB_FOUND)
INCLUDE(FindPkgConfig) INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(PC_JRTPLIB "jrtplib") PKG_CHECK_MODULES(PC_JRTPLIB "jrtplib")
@ -32,6 +34,6 @@ else()
message(STATUS "JRTPLib not found") message(STATUS "JRTPLib not found")
endif() endif()
INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(JRTPLIB DEFAULT_MSG JRTPLIB_LIBRARIES JRTPLIB_INCLUDE_DIR)
MARK_AS_ADVANCED(JRTPLIB_LIBRARIES JRTPLIB_INCLUDE_DIR) MARK_AS_ADVANCED(JRTPLIB_LIBRARIES JRTPLIB_INCLUDE_DIR)
endif(NOT JRTPLIB_FOUND)