]> SALOME platform Git repositories - modules/kernel.git/commitdiff
Salome HOME
CoTech #79 decision: switch off C++0x/C++11 feature by default for SALOME 7x
authorvsr <vsr@opencascade.com>
Wed, 17 Feb 2016 13:44:17 +0000 (16:44 +0300)
committervsr <vsr@opencascade.com>
Wed, 17 Feb 2016 13:44:17 +0000 (16:44 +0300)
salome_adm/cmake_files/SalomeSetupPlatform.cmake

index aa6b80e117dae7bff0d8080317c4ae018df7b7d5..a7bed3741f4bbb076897316940d3c23471c927c1 100644 (file)
@@ -166,6 +166,9 @@ IF(NOT WIN32)
   ENDIF()
 ENDIF()
 
+IF(NOT DEFINED NO_CXX11_SUPPORT)
+  SET(NO_CXX11_SUPPORT ON)
+ENDIF()
 IF(NOT NO_CXX11_SUPPORT)
   # C++11 support
   INCLUDE(CheckCXXCompilerFlag)