]> SALOME platform Git repositories - tools/configuration.git/commitdiff
Salome HOME
[CEA 40693] COTECH 156.5: Check usage of C++14 as default standard for SALOME modules bos/40807 4/head
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 6 Mar 2024 15:51:46 +0000 (16:51 +0100)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Wed, 6 Mar 2024 15:51:46 +0000 (16:51 +0100)
cmake/SalomeSetupPlatform.cmake

index 138e80bcbbd99bf0604603eb8a8e29afd5a9e319..892d1836a732829034b88b4be64a45047d207ca1 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 17 CACHE STRING "C++ standard to use")
+SET(SALOME_CXX_STANDARD 14 CACHE STRING "C++ standard to use")
 SET(_supported_standards 11 14 17 20)
 SET(_standard_ok FALSE)
 FOREACH(_standard ${_supported_standards})