1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2025-09-03 11:27:59 +00:00

Fix for Ubuntu 19.04

This commit is contained in:
Carles Fernandez
2021-01-06 13:42:48 +01:00
parent 9ee49136a3
commit ea86fb74b3

View File

@@ -120,7 +120,6 @@ if(FILESYSTEM_FIND_QUIETLY)
endif()
# All of our tests require C++17 or later
set(CMAKE_CXX_STANDARD 17)
if((CMAKE_CXX_COMPILER_ID STREQUAL "GNU") AND (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "9.0.0"))
set(CMAKE_REQUIRED_FLAGS "-std=c++17")
endif()