Salome HOME
[CEA 40693] COTECH 156.5: Check usage of C++14 as default standard for SALOME modules
[tools/configuration.git] / cmake / SalomeSetupPlatform.cmake
index 38e6182194103612cb77a5b199da208f0cfda429..892d1836a732829034b88b4be64a45047d207ca1 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (C) 2007-2023  CEA, EDF, OPEN CASCADE
+# Copyright (C) 2007-2024  CEA, EDF, OPEN CASCADE
 #
 # This library is free software; you can redistribute it and/or
 # modify it under the terms of the GNU Lesser General Public
@@ -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 14 CACHE STRING "C++ standard to use")
 SET(_supported_standards 11 14 17 20)
 SET(_standard_ok FALSE)
 FOREACH(_standard ${_supported_standards})