mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +00:00
Add some CMake fixes
This commit is contained in:
parent
f38d6961e7
commit
02996bbc8a
@ -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}>
|
||||
)
|
||||
|
@ -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()
|
||||
|
||||
|
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user