mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
Fixed FindJRTPLib.cmake
This commit is contained in:
parent
31c3b11194
commit
22bbc9eecd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user