From ae1fa08188190aec49a1a04765dee764e2bb0a7f Mon Sep 17 00:00:00 2001 From: Glen Fletcher Date: Wed, 21 Nov 2018 08:08:26 +1100 Subject: [PATCH] Add C++17 to the list of supported C++ Standards in CMake build Allow building with set(CMAKE_CXX_STANDARD 17). Closes https://github.com/wxWidgets/wxWidgets/pull/1029 --- build/cmake/options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/cmake/options.cmake b/build/cmake/options.cmake index 6b03f2b068..0cf3740002 100644 --- a/build/cmake/options.cmake +++ b/build/cmake/options.cmake @@ -37,7 +37,7 @@ else() set(wxCXX_STANDARD_DEFAULT COMPILER_DEFAULT) endif() wx_option(wxBUILD_CXX_STANDARD "C++ standard used to build wxWidgets targets" - ${wxCXX_STANDARD_DEFAULT} STRINGS COMPILER_DEFAULT 98 11 14) + ${wxCXX_STANDARD_DEFAULT} STRINGS COMPILER_DEFAULT 98 11 14 17) endif() if(WIN32)