From 8de68e8d7c7468a2286e83d0cf96b25e9f64add4 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Fri, 2 Feb 2024 15:35:50 +0100 Subject: [PATCH] =?utf8?q?[CEA=2040693]=20COTECH=20156.5:=20Check=20usage?= =?utf8?q?=20of=20C++17=20as=20default=20standard=20for=20SALOME=E2=80=99s?= =?utf8?q?=20modules?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- cmake/SalomeSetupPlatform.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) -- 2.39.2