mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-11-10 20:10:05 +00:00
Fix building with CMake 3.30
This commit is contained in:
parent
12a2fcadbe
commit
389600dffc
@ -19,7 +19,11 @@ if(NOT GNSSTK_FOUND OR ENABLE_OWN_GNSSTK)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
find_package(Boost COMPONENTS iostreams serialization QUIET)
|
||||
if(CMAKE_VERSION VERSION_LESS "3.30.0")
|
||||
find_package(Boost COMPONENTS iostreams serialization QUIET)
|
||||
else()
|
||||
find_package(Boost COMPONENTS iostreams serialization)
|
||||
endif()
|
||||
if(CMAKE_VERSION VERSION_LESS 3.5)
|
||||
if(NOT TARGET Boost::iostreams)
|
||||
add_library(Boost::iostreams IMPORTED SHARED)
|
||||
|
Loading…
Reference in New Issue
Block a user