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:
committed by
Vadim Zeitlin
parent
c9318f2f64
commit
ae1fa08188
@@ -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)
|
||||
|
Reference in New Issue
Block a user