From: Nabil Ghodbane Date: Wed, 6 Mar 2024 15:51:46 +0000 (+0100) Subject: [CEA 40693] COTECH 156.5: Check usage of C++14 as default standard for SALOME modules X-Git-Tag: V9_13_0a1~3 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fbos%2F40807;p=tools%2Fconfiguration.git [CEA 40693] COTECH 156.5: Check usage of C++14 as default standard for SALOME modules --- diff --git a/cmake/SalomeSetupPlatform.cmake b/cmake/SalomeSetupPlatform.cmake index 138e80b..892d183 100644 --- a/cmake/SalomeSetupPlatform.cmake +++ b/cmake/SalomeSetupPlatform.cmake @@ -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})