Increase min cxx standard to 17
This commit is contained in:
parent
e3b0044f8e
commit
dc5ad24ef8
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ set(MAPNIK_OPTIONAL_LIBS_INCLUDE "")
|
||||||
#############################
|
#############################
|
||||||
#############################
|
#############################
|
||||||
|
|
||||||
set(CMAKE_CXX_STANDARD 14 CACHE STRING "Sets the c++ standard. c++14 is minimum.")
|
set(CMAKE_CXX_STANDARD 17 CACHE STRING "Sets the c++ standard. c++17 is minimum.")
|
||||||
set(CMAKE_CXX_STANDARD_REQUIRED ON) # require the specified CMAKE_CXX_STANDARD
|
set(CMAKE_CXX_STANDARD_REQUIRED ON) # require the specified CMAKE_CXX_STANDARD
|
||||||
set(CMAKE_CXX_EXTENSIONS OFF CACHE STRING "Enables the compiler specific extensions.") # Fallsback to -std=c++<ver> if off
|
set(CMAKE_CXX_EXTENSIONS OFF CACHE STRING "Enables the compiler specific extensions.") # Fallsback to -std=c++<ver> if off
|
||||||
message(STATUS "Using c++${CMAKE_CXX_STANDARD}")
|
message(STATUS "Using c++${CMAKE_CXX_STANDARD}")
|
||||||
|
|
Loading…
Reference in a new issue