]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
[CEA 40693] COTECH 156.5: Check usage of C++17 as default standard for SALOME’s modules
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Feb 2024 14:35:50 +0000 (15:35 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Fri, 2 Feb 2024 14:35:50 +0000 (15:35 +0100)
cmake/SalomeSetupPlatform.cmake

index 20095cce9fbd76c791205bf06d3eadc6b95b144c..138e80bcbbd99bf0604603eb8a8e29afd5a9e319 100644 (file)
@@ -110,7 +110,7 @@ ENDIF()
 # Option: C++ standard to use
 # Note: CMake by default enables C++ extensions; they can be disabled by additionally
 #       specifying -DCMAKE_CXX_EXTENSIONS=OFF
-SET(SALOME_CXX_STANDARD 11 CACHE STRING "C++ standard to use")
+SET(SALOME_CXX_STANDARD 17 CACHE STRING "C++ standard to use")
 SET(_supported_standards 11 14 17 20)
 SET(_standard_ok FALSE)
 FOREACH(_standard ${_supported_standards})