From ae4ba351d35264108fc603221612120b1dfa8b94 Mon Sep 17 00:00:00 2001 From: Bastian Bloessl Date: Sun, 4 Dec 2016 16:29:14 +0100 Subject: [PATCH] cmake: require blocks --- CMakeLists.txt | 2 +- lib/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 51ae3e0..b43f4eb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -89,7 +89,7 @@ set(GRC_BLOCKS_DIR ${GR_PKG_DATA_DIR}/grc/blocks) ######################################################################## # Find gnuradio build dependencies ######################################################################## -set(GR_REQUIRED_COMPONENTS RUNTIME PMT) +set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS) find_package(Gnuradio) find_package(CppUnit) diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index e45b9f5..5e0be00 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -62,7 +62,7 @@ else() endif() add_library(gnuradio-foo SHARED ${foo_sources}) -target_link_libraries(gnuradio-foo ${Boost_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} ${GNURADIO_PMT_LIBRARIES} ${UHD_LIBRARIES}) +target_link_libraries(gnuradio-foo ${Boost_LIBRARIES} ${GNURADIO_ALL_LIBRARIES} ${UHD_LIBRARIES}) set_target_properties(gnuradio-foo PROPERTIES DEFINE_SYMBOL "gnuradio_foo_EXPORTS") ########################################################################