1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-09-21 03:39:48 +00:00

Fix for CMake < 3.14

This commit is contained in:
Carles Fernandez 2024-08-20 15:21:39 +02:00
parent ca150572d1
commit 7f5704917f
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -1424,6 +1424,7 @@ else()
endif()
################################################################################
# Abseil C++ - https://abseil.io/docs/cpp/
################################################################################
@ -3360,6 +3361,9 @@ endif()
################################################################################
# ION GNSS-SDR Metadata Standard https://sdr.ion.org/ (OPTIONAL)
################################################################################
if(CMAKE_VERSION VERSION_LESS 3.14)
set(ENABLE_ION OFF) # FetchContent_MakeAvailable is available from CMake 3.14
endif()
if(ENABLE_ION)
include(FetchContent)
set(CMAKE_POLICY_DEFAULT_CMP0063 NEW)