blob: ebd3c7d0317c133c1674ac18d2e36b9f9f403fbe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
--- CMake/ParaViewCompilerChecks.cmake.orig 2025-03-31 14:04:52 UTC
+++ CMake/ParaViewCompilerChecks.cmake
@@ -28,12 +28,12 @@ endif ()
message(FATAL_ERROR "Intel C++ (ICC) 14.0 or later is required.")
endif ()
-# Make sure we have C++11 enabled.
+# Make sure we have C++17 enabled.
if(NOT PARAVIEW_IGNORE_CMAKE_CXX11_CHECKS)
# Needed to make sure libraries and executables not built by the
- # vtkModuleMacros still have the C++11 compiler flags enabled
+ # vtkModuleMacros still have the C++17 compiler flags enabled
# Wrap this in an escape hatch for unknown compilers
- set(CMAKE_CXX_STANDARD 11)
+ set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED True)
set(CMAKE_CXX_EXTENSIONS False)
endif()
|