From dc5ad24ef82265cb892620b3de1c0e7d18b9a66a Mon Sep 17 00:00:00 2001 From: Mathis Logemann Date: Fri, 19 Apr 2024 18:17:01 +0200 Subject: [PATCH] Increase min cxx standard to 17 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a745fabd7..9b68166f4 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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_EXTENSIONS OFF CACHE STRING "Enables the compiler specific extensions.") # Fallsback to -std=c++ if off message(STATUS "Using c++${CMAKE_CXX_STANDARD}")