From: Nabil Ghodbane Date: Fri, 2 Feb 2024 14:35:50 +0000 (+0100) Subject: [CEA 40693] COTECH 156.5: Check usage of C++17 as default standard for SALOME’s modules X-Git-Tag: V9_13_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8de68e8d7c7468a2286e83d0cf96b25e9f64add4;p=tools%2Fconfiguration.git [CEA 40693] COTECH 156.5: Check usage of C++17 as default standard for SALOME’s modules --- diff --git a/cmake/SalomeSetupPlatform.cmake b/cmake/SalomeSetupPlatform.cmake index 20095cc..138e80b 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 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})