|
|
@ -1,5 +1,5 @@
|
|
|
|
INCLUDE(FindPkgConfig)
|
|
|
|
INCLUDE(FindPkgConfig)
|
|
|
|
PKG_CHECK_MODULES(UHD uhd)
|
|
|
|
#PKG_CHECK_MODULES(UHD uhd)
|
|
|
|
IF(NOT UHD_FOUND)
|
|
|
|
IF(NOT UHD_FOUND)
|
|
|
|
|
|
|
|
|
|
|
|
FIND_PATH(
|
|
|
|
FIND_PATH(
|
|
|
@ -20,7 +20,11 @@ FIND_LIBRARY(
|
|
|
|
/usr/local/lib32
|
|
|
|
/usr/local/lib32
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message(STATUS "UHD LIBRARIES " ${UHD_LIBRARIES})
|
|
|
|
|
|
|
|
message(STATUS "UHD INCLUDE DIRS " ${UHD_INCLUDE_DIRS})
|
|
|
|
|
|
|
|
|
|
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
|
|
INCLUDE(FindPackageHandleStandardArgs)
|
|
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(UHD DEFAULT_MSG UHD_LIBRARIES UHD_INCLUDE_DIRS)
|
|
|
|
FIND_PACKAGE_HANDLE_STANDARD_ARGS(UHD DEFAULT_MSG UHD_LIBRARIES UHD_INCLUDE_DIRS)
|
|
|
|
|
|
|
|
MARK_AS_ADVANCED(UHD_LIBRARIES UHD_INCLUDE_DIRS)
|
|
|
|
|
|
|
|
|
|
|
|
ENDIF(NOT UHD_FOUND)
|
|
|
|
ENDIF(NOT UHD_FOUND)
|
|
|
|