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:
parent
30ee3dcb89
commit
72a640cab8
@ -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")
|
||||||
set(CMAKE_CXX_STANDARD 11)
|
if(CMAKE_VERSION VERSION_LESS "3.1")
|
||||||
|
set(MY_CXX_FLAGS "${MY_CXX_FLAGS} -std=c++11")
|
||||||
|
else()
|
||||||
|
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user