summaryrefslogtreecommitdiffstats
path: root/cmake/scripts/common/PrepareEnv.cmake
diff options
context:
space:
mode:
authormanuel <manuel@mausz.at>2019-04-29 12:22:05 +0200
committermanuel <manuel@mausz.at>2019-04-29 12:22:05 +0200
commite317daf081a1048904fdf0b548946fa3ba6593a7 (patch)
tree285a58fe8c6b4a95c9a6020afbe7bcc9cb913ea7 /cmake/scripts/common/PrepareEnv.cmake
parent483c0b88bfc1b798396c31a4dd2f5239399ce59e (diff)
downloadkodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.gz
kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.tar.bz2
kodi-pvr-build-e317daf081a1048904fdf0b548946fa3ba6593a7.zip
sync with upstream
Diffstat (limited to 'cmake/scripts/common/PrepareEnv.cmake')
-rw-r--r--cmake/scripts/common/PrepareEnv.cmake8
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})
25endif() 25endif()
26 26
27# make sure C++11 is always set
28if(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()
33endif()
34
35if(NOT CORE_SYSTEM_NAME) 27if(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")