diff options
Diffstat (limited to 'cmake/scripts/common/PrepareEnv.cmake')
| -rw-r--r-- | cmake/scripts/common/PrepareEnv.cmake | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/cmake/scripts/common/PrepareEnv.cmake b/cmake/scripts/common/PrepareEnv.cmake index 20dbaf6..753dca1 100644 --- a/cmake/scripts/common/PrepareEnv.cmake +++ b/cmake/scripts/common/PrepareEnv.cmake | |||
| @@ -24,14 +24,6 @@ if(NOT EXISTS "${APP_INCLUDE_DIR}/") | |||
| 24 | file(MAKE_DIRECTORY ${APP_INCLUDE_DIR}) | 24 | file(MAKE_DIRECTORY ${APP_INCLUDE_DIR}) |
| 25 | endif() | 25 | endif() |
| 26 | 26 | ||
| 27 | # make sure C++11 is always set | ||
| 28 | if(NOT WIN32) | ||
| 29 | string(REGEX MATCH "-std=(gnu|c)\\+\\+11" cxx11flag "${CMAKE_CXX_FLAGS}") | ||
| 30 | if(NOT cxx11flag) | ||
| 31 | set(CXX11_SWITCH "-std=c++11") | ||
| 32 | endif() | ||
| 33 | endif() | ||
| 34 | |||
| 35 | if(NOT CORE_SYSTEM_NAME) | 27 | if(NOT CORE_SYSTEM_NAME) |
| 36 | if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") | 28 | if(CMAKE_SYSTEM_NAME STREQUAL "Darwin") |
| 37 | set(CORE_SYSTEM_NAME "osx") | 29 | set(CORE_SYSTEM_NAME "osx") |
