Salome HOME
projects
/
modules
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce4dca2
)
CoTech #79 decision: switch off C++0x/C++11 feature by default for SALOME 7x
author
vsr
<vsr@opencascade.com>
Wed, 17 Feb 2016 13:44:17 +0000
(16:44 +0300)
committer
vsr
<vsr@opencascade.com>
Wed, 17 Feb 2016 13:44:17 +0000
(16:44 +0300)
salome_adm/cmake_files/SalomeSetupPlatform.cmake
patch
|
blob
|
history
diff --git
a/salome_adm/cmake_files/SalomeSetupPlatform.cmake
b/salome_adm/cmake_files/SalomeSetupPlatform.cmake
index aa6b80e117dae7bff0d8080317c4ae018df7b7d5..a7bed3741f4bbb076897316940d3c23471c927c1 100644
(file)
--- 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)