Commit ab37ddf0 authored by Robert Maynard's avatar Robert Maynard Committed by Kitware Robot
Browse files

Merge topic 'use_cxx11_dont_enable_compiler_extensions'

404f639f

 Explicitly state that we don't want compiler extensions enabled.
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Reviewed-by: default avatarMarcus D. Hanwell <marcus.hanwell@kitware.com>
Merge-request: !1623
parents f64431a2 404f639f
...@@ -37,7 +37,8 @@ else() ...@@ -37,7 +37,8 @@ else()
endif() endif()
if (VTK_USE_CXX11_FEATURES) if (VTK_USE_CXX11_FEATURES)
set(CMAKE_CXX_STANDARD 11) set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED 11) set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS False)
endif() endif()
# Objective-C++ compile flags. # Objective-C++ compile flags.
......
Supports Markdown
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