1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Build volk-gnssdr without Boost if std::filesystem is available

This commit is contained in:
Carles Fernandez 2019-06-09 03:00:38 +02:00
parent 30ee3dcb89
commit 72a640cab8
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -85,7 +85,11 @@ endif()
set(USE_CXX17 FALSE) set(USE_CXX17 FALSE)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32) if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND NOT WIN32)
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.1.1") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "6.1.1")
if(CMAKE_VERSION VERSION_LESS "3.1")
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -std=c++11")
else()
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
endif()
else() else()
if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0.0") if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "8.0.0")
set(CMAKE_CXX_STANDARD 14) set(CMAKE_CXX_STANDARD 14)