From 34f1b9fa8611a56265bf9acc4990fa2791d232dc Mon Sep 17 00:00:00 2001 From: vsr Date: Wed, 17 Feb 2016 16:44:17 +0300 Subject: [PATCH] CoTech #79 decision: switch off C++0x/C++11 feature by default for SALOME 7x --- salome_adm/cmake_files/SalomeSetupPlatform.cmake | 3 +++ 1 file changed, 3 insertions(+) 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) -- 2.39.2