diff --git a/CMakeLists.txt b/CMakeLists.txt index fdd8cff..b45b292 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -143,7 +143,7 @@ set(GRC_BLOCKS_DIR ${GR_PKG_DATA_DIR}/grc/blocks) ######################################################################## # Find build dependencies ######################################################################## -set(GR_REQUIRED_COMPONENTS RUNTIME BLOCKS) +set(GR_REQUIRED_COMPONENTS RUNTIME PMT BLOCKS) find_package(Gnuradio "3.7.0") find_package(GnuradioIQBalance) find_package(UHD) @@ -167,11 +167,15 @@ include_directories( ${CMAKE_SOURCE_DIR}/lib ${Boost_INCLUDE_DIRS} ${GNURADIO_RUNTIME_INCLUDE_DIRS} + ${GNURADIO_PMT_INCLUDE_DIRS} + ${GNURADIO_BLOCKS_INCLUDE_DIRS} ) link_directories( ${Boost_LIBRARY_DIRS} ${GNURADIO_RUNTIME_LIBRARY_DIRS} + ${GNURADIO_PMT_LIBRARY_DIRS} + ${GNURADIO_BLOCKS_LIBRARY_DIRS} ) # Set component parameters diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt index fef9638..25a4368 100644 --- a/lib/CMakeLists.txt +++ b/lib/CMakeLists.txt @@ -45,6 +45,7 @@ GR_OSMOSDR_APPEND_SRCS( GR_OSMOSDR_APPEND_LIBS( ${Boost_LIBRARIES} ${GNURADIO_RUNTIME_LIBRARIES} + ${GNURADIO_PMT_LIBRARIES} ${GNURADIO_BLOCKS_LIBRARIES} )