From: vsr Date: Wed, 17 Feb 2016 13:44:17 +0000 (+0300) Subject: CoTech #79 decision: switch off C++0x/C++11 feature by default for SALOME 7x X-Git-Tag: V7_8_0a2~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=34f1b9fa8611a56265bf9acc4990fa2791d232dc;p=modules%2Fkernel.git CoTech #79 decision: switch off C++0x/C++11 feature by default for SALOME 7x --- diff --git a/salome_adm/cmake_files/SalomeSetupPlatform.cmake b/salome_adm/cmake_files/SalomeSetupPlatform.cmake index aa6b80e11..a7bed3741 100644 --- a/salome_adm/cmake_files/SalomeSetupPlatform.cmake +++ b/salome_adm/cmake_files/SalomeSetupPlatform.cmake @@ -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)