From 0fda899081f37eb2a7783c1d0aeaacc28b9ede69 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 6 Mar 2024 16:51:46 +0100 Subject: [PATCH] [CEA 40693] COTECH 156.5: Check usage of C++14 as default standard for SALOME modules --- cmake/SalomeSetupPlatform.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.39.2