summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2014-01-17 22:59:58 +0100
committerMattes D <github@xoft.cz>2014-01-17 22:59:58 +0100
commit9aca5b4b999ed671e3027a3c09582ff50ea8ebde (patch)
treeb8654ecb66295b21cb36ed50822d4cb0ca628240 /CMakeLists.txt
parentMerge pull request #554 from worktycho/compression (diff)
parentChanged std to c++11 in clang to fix va_copy issues (diff)
downloadcuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar.gz
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar.bz2
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar.lz
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar.xz
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.tar.zst
cuberite-9aca5b4b999ed671e3027a3c09582ff50ea8ebde.zip
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f2ad8b364..4ddd34db3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -47,6 +47,7 @@ elseif(APPLE)
#on os x clang adds pthread for us but we need to add it for gcc
if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang")
add_flags_cxx("-pthread")
+ add_flags_cxx("-std=c++11")
endif()
else()
# Let gcc / clang know that we're compiling a multi-threaded app: