mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-05-02 07:24:11 +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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CMAKE_VERSION VERSION_LESS "3.30.0")
|
||||||
find_package(Boost COMPONENTS iostreams serialization QUIET)
|
find_package(Boost COMPONENTS iostreams serialization QUIET)
|
||||||
|
else()
|
||||||
|
find_package(Boost COMPONENTS iostreams serialization)
|
||||||
|
endif()
|
||||||
if(CMAKE_VERSION VERSION_LESS 3.5)
|
if(CMAKE_VERSION VERSION_LESS 3.5)
|
||||||
if(NOT TARGET Boost::iostreams)
|
if(NOT TARGET Boost::iostreams)
|
||||||
add_library(Boost::iostreams IMPORTED SHARED)
|
add_library(Boost::iostreams IMPORTED SHARED)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user