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
This commit is contained in:
Glen Fletcher
2018-11-21 08:08:26 +11:00
committed by Vadim Zeitlin
parent c9318f2f64
commit ae1fa08188

View File

@@ -37,7 +37,7 @@ else()
set(wxCXX_STANDARD_DEFAULT COMPILER_DEFAULT) set(wxCXX_STANDARD_DEFAULT COMPILER_DEFAULT)
endif() endif()
wx_option(wxBUILD_CXX_STANDARD "C++ standard used to build wxWidgets targets" 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() endif()
if(WIN32) if(WIN32)