mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-01-15 11:45:47 +00:00
Make use of the new Boost::headers target introduced in CMake 3.15
This commit is contained in:
parent
6e44d77e3d
commit
38a987607e
@ -762,6 +762,11 @@ if(CMAKE_VERSION VERSION_LESS 3.5)
|
|||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
if(CMAKE_VERSION VERSION_LESS 3.15)
|
||||||
|
if(NOT TARGET Boost::headers)
|
||||||
|
add_library(Boost::headers ALIAS Boost::boost)
|
||||||
|
endif()
|
||||||
|
endif()
|
||||||
|
|
||||||
# Fix for Boost Asio < 1.70 when using Clang in macOS
|
# Fix for Boost Asio < 1.70 when using Clang in macOS
|
||||||
if(Boost_VERSION_STRING VERSION_LESS 1.70.0)
|
if(Boost_VERSION_STRING VERSION_LESS 1.70.0)
|
||||||
|
@ -104,7 +104,7 @@ target_link_libraries(acquisition_adapters
|
|||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
Volk::volk
|
Volk::volk
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
Gnuradio::fft
|
Gnuradio::fft
|
||||||
|
@ -40,7 +40,7 @@ target_link_libraries(channel_libs
|
|||||||
Gnuradio::pmt
|
Gnuradio::pmt
|
||||||
PRIVATE
|
PRIVATE
|
||||||
core_libs
|
core_libs
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
)
|
)
|
||||||
|
@ -42,7 +42,7 @@ add_library(data_type_gr_blocks
|
|||||||
target_link_libraries(data_type_gr_blocks
|
target_link_libraries(data_type_gr_blocks
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Boost::boost
|
Boost::headers
|
||||||
algorithms_libs
|
algorithms_libs
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Volk::volk
|
Volk::volk
|
||||||
|
@ -100,7 +100,7 @@ target_include_directories(algorithms_libs
|
|||||||
target_link_libraries(algorithms_libs
|
target_link_libraries(algorithms_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Armadillo::armadillo
|
Armadillo::armadillo
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
|
@ -45,7 +45,7 @@ target_include_directories(obs_gr_blocks
|
|||||||
|
|
||||||
target_link_libraries(obs_gr_blocks
|
target_link_libraries(obs_gr_blocks
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
PRIVATE
|
PRIVATE
|
||||||
algorithms_libs
|
algorithms_libs
|
||||||
|
@ -170,7 +170,7 @@ target_include_directories(signal_source_adapters
|
|||||||
|
|
||||||
target_link_libraries(signal_source_adapters
|
target_link_libraries(signal_source_adapters
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
signal_source_gr_blocks
|
signal_source_gr_blocks
|
||||||
|
@ -69,7 +69,7 @@ add_library(signal_source_libs ${SIGNAL_SOURCE_LIB_SOURCES} ${SIGNAL_SOURCE_LIB_
|
|||||||
|
|
||||||
target_link_libraries(signal_source_libs
|
target_link_libraries(signal_source_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
|
@ -56,7 +56,7 @@ target_link_libraries(telemetry_decoder_gr_blocks
|
|||||||
telemetry_decoder_libs
|
telemetry_decoder_libs
|
||||||
core_system_parameters
|
core_system_parameters
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Boost::boost
|
Boost::headers
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
|
@ -88,7 +88,7 @@ endif()
|
|||||||
|
|
||||||
target_link_libraries(tracking_gr_blocks
|
target_link_libraries(tracking_gr_blocks
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Armadillo::armadillo
|
Armadillo::armadillo
|
||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
Matio::matio
|
Matio::matio
|
||||||
|
@ -88,7 +88,7 @@ add_library(tracking_libs ${TRACKING_LIB_SOURCES} ${TRACKING_LIB_HEADERS})
|
|||||||
target_link_libraries(tracking_libs
|
target_link_libraries(tracking_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Armadillo::armadillo
|
Armadillo::armadillo
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
Volkgnsssdr::volkgnsssdr
|
Volkgnsssdr::volkgnsssdr
|
||||||
core_system_parameters
|
core_system_parameters
|
||||||
|
@ -62,7 +62,7 @@ add_library(core_libs ${CORE_LIBS_SOURCES} ${CORE_LIBS_HEADERS})
|
|||||||
|
|
||||||
target_link_libraries(core_libs
|
target_link_libraries(core_libs
|
||||||
PUBLIC
|
PUBLIC
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
core_libs_supl
|
core_libs_supl
|
||||||
core_system_parameters
|
core_system_parameters
|
||||||
|
@ -148,7 +148,7 @@ target_link_libraries(core_receiver
|
|||||||
telemetry_decoder_adapters
|
telemetry_decoder_adapters
|
||||||
obs_adapters
|
obs_adapters
|
||||||
pvt_adapters
|
pvt_adapters
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
Armadillo::armadillo
|
Armadillo::armadillo
|
||||||
|
@ -32,7 +32,7 @@ endif()
|
|||||||
target_link_libraries(gnss-sdr
|
target_link_libraries(gnss-sdr
|
||||||
PUBLIC
|
PUBLIC
|
||||||
core_receiver
|
core_receiver
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Boost::thread
|
Boost::thread
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
|
@ -37,7 +37,7 @@ target_link_libraries(system_testing_lib
|
|||||||
Armadillo::armadillo
|
Armadillo::armadillo
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Matio::matio
|
Matio::matio
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ target_link_libraries(signal_processing_testing_lib
|
|||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Gnuradio::runtime
|
Gnuradio::runtime
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Matio::matio
|
Matio::matio
|
||||||
Glog::glog
|
Glog::glog
|
||||||
)
|
)
|
||||||
|
@ -34,7 +34,7 @@ target_link_libraries(front_end_cal_lib
|
|||||||
core_receiver
|
core_receiver
|
||||||
core_libs
|
core_libs
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Boost::boost
|
Boost::headers
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
Gnuradio::blocks
|
Gnuradio::blocks
|
||||||
@ -68,7 +68,7 @@ target_link_libraries(front-end-cal
|
|||||||
core_receiver
|
core_receiver
|
||||||
front_end_cal_lib
|
front_end_cal_lib
|
||||||
gnss_sdr_flags
|
gnss_sdr_flags
|
||||||
Boost::boost
|
Boost::headers
|
||||||
PRIVATE
|
PRIVATE
|
||||||
Gflags::gflags
|
Gflags::gflags
|
||||||
Glog::glog
|
Glog::glog
|
||||||
|
Loading…
Reference in New Issue
Block a user