From 049c951ac720cc2e3e38e3bce6825058a37df921 Mon Sep 17 00:00:00 2001 From: Manolis Surligas Date: Thu, 3 Aug 2017 12:33:41 +0300 Subject: [PATCH] Fix CMake GNU Radio requirements --- CMakeLists.txt | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a46a771..7644674 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -123,7 +123,7 @@ endif(APPLE) find_package (Threads REQUIRED) ######################################################################## -# Find gnuradio build dependencies +# Find gr-satnogs build dependencies ######################################################################## find_package(CppUnit) find_package(Doxygen) @@ -134,7 +134,8 @@ find_package(PNG REQUIRED) ######################################################################## # Include or not into the module blocks for debugging ######################################################################## -option(INCLUDE_DEBUG_BLOCKS "Enable/Disable blocks that are used for debugging purposes" ON) +option(INCLUDE_DEBUG_BLOCKS + "Enable/Disable blocks that are used for debugging purposes" ON) ######################################################################## @@ -151,9 +152,7 @@ endif() # components required to the list of GR_REQUIRED_COMPONENTS (in all # caps such as FILTER or FFT) and change the version to the minimum # API compatible version required. -set(GR_REQUIRED_COMPONENTS RUNTIME FFT) -set(GR_REQUIRED_COMPONENTS RUNTIME FILTER) -set(GR_REQUIRED_COMPONENTS RUNTIME DIGITAL) +set(GR_REQUIRED_COMPONENTS RUNTIME FFT FILTER DIGITAL) find_package(Gnuradio "3.7.7" REQUIRED) list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_SOURCE_DIR}/cmake/Modules) include(GrVersion)