1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 20:20:35 +00:00

Add some CMake fixes

This commit is contained in:
Carles Fernandez 2019-02-04 20:00:29 +01:00
parent f38d6961e7
commit 02996bbc8a
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D
3 changed files with 14 additions and 12 deletions

View File

@ -42,6 +42,7 @@ target_link_libraries(obs_gr_blocks
Matio::matio
)
set_property(TARGET obs_gr_blocks APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
set_property(TARGET obs_gr_blocks
APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
)

View File

@ -192,6 +192,13 @@ target_link_libraries(signal_source_adapters
Volk::volk
)
if(ENABLE_RAW_UDP AND PCAP_FOUND)
target_link_libraries(signal_source_adapters
PRIVATE
Pcap::pcap
)
endif()
if(ENABLE_UHD AND GNURADIO_UHD_LIBRARIES_gnuradio-uhd)
target_link_libraries(signal_source_adapters
PUBLIC
@ -211,14 +218,7 @@ endif()
if(ENABLE_AD9361 AND LIBIIO_FOUND)
target_link_libraries(signal_source_adapters
PRIVATE
Osmosdr::osmosdr
)
endif()
if(ENABLE_RAW_UDP AND PCAP_FOUND)
target_link_libraries(signal_source_adapters
PRIVATE
Pcap::pcap
Iio::iio
)
endif()

View File

@ -41,12 +41,13 @@ source_group(Headers FILES ${CORE_LIBS_HEADERS})
target_link_libraries(rx_core_lib
PUBLIC
Boost::boost
supl_library
gnss_system_parameters
Boost::boost
PRIVATE
Glog::glog
Boost::serialization
Gflags::gflags
Glog::glog
Pugixml::pugixml
)