diff options
Diffstat (limited to 'tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake')
-rw-r--r-- | tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake b/tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake index afed684a5..6c5f38f28 100644 --- a/tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake +++ b/tools/gr-usrptest/cmake/Modules/FindGnuradioRuntime.cmake @@ -1,9 +1,9 @@ -INCLUDE(FindPkgConfig) +include(FindPkgConfig) PKG_CHECK_MODULES(PC_GNURADIO_RUNTIME gnuradio-runtime) if(PC_GNURADIO_RUNTIME_FOUND) # look for include files - FIND_PATH( + find_path( GNURADIO_RUNTIME_INCLUDE_DIRS NAMES gnuradio/top_block.h HINTS $ENV{GNURADIO_RUNTIME_DIR}/include @@ -14,7 +14,7 @@ if(PC_GNURADIO_RUNTIME_FOUND) ) # look for libs - FIND_LIBRARY( + find_library( GNURADIO_RUNTIME_LIBRARIES NAMES gnuradio-runtime HINTS $ENV{GNURADIO_RUNTIME_DIR}/lib @@ -30,7 +30,7 @@ if(PC_GNURADIO_RUNTIME_FOUND) set(GNURADIO_RUNTIME_FOUND ${PC_GNURADIO_RUNTIME_FOUND}) endif(PC_GNURADIO_RUNTIME_FOUND) -INCLUDE(FindPackageHandleStandardArgs) +include(FindPackageHandleStandardArgs) # do not check GNURADIO_RUNTIME_INCLUDE_DIRS, is not set when default include path us used. FIND_PACKAGE_HANDLE_STANDARD_ARGS(GNURADIO_RUNTIME DEFAULT_MSG GNURADIO_RUNTIME_LIBRARIES) -MARK_AS_ADVANCED(GNURADIO_RUNTIME_LIBRARIES GNURADIO_RUNTIME_INCLUDE_DIRS) +mark_as_advanced(GNURADIO_RUNTIME_LIBRARIES GNURADIO_RUNTIME_INCLUDE_DIRS) |