Commit 404f639f authored by Robert Maynard's avatar Robert Maynard
Browse files

Explicitly state that we don't want compiler extensions enabled.

parent 7b7175dd
Pipeline #18744 passed with stage
......@@ -37,7 +37,8 @@ else()
endif()
if (VTK_USE_CXX11_FEATURES)
set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED 11)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS False)
endif()
# Objective-C++ compile flags.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment