forked from sdr/gr-osmosdr
cmake: add gnuradio-pmt dependency for OSX linkage
parent
86b906a019
commit
407be2c329
|
@ -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
|
||||
|
|
|
@ -45,6 +45,7 @@ GR_OSMOSDR_APPEND_SRCS(
|
|||
GR_OSMOSDR_APPEND_LIBS(
|
||||
${Boost_LIBRARIES}
|
||||
${GNURADIO_RUNTIME_LIBRARIES}
|
||||
${GNURADIO_PMT_LIBRARIES}
|
||||
${GNURADIO_BLOCKS_LIBRARIES}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue