summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2014-04-12 18:11:30 +0200
committerJan Dalheimer <jan@dalheimer.de>2014-04-12 18:11:30 +0200
commit3f2152c14df019f441a48e2f9926c24b0aca0fd3 (patch)
tree7f124714d8f6e9e84104d0dec9764eae371f383e /cmake
parent8a6c64ef6265b1294e3ded64716c3cee5fcfd010 (diff)
downloadMultiMC-3f2152c14df019f441a48e2f9926c24b0aca0fd3.tar
MultiMC-3f2152c14df019f441a48e2f9926c24b0aca0fd3.tar.gz
MultiMC-3f2152c14df019f441a48e2f9926c24b0aca0fd3.tar.lz
MultiMC-3f2152c14df019f441a48e2f9926c24b0aca0fd3.tar.xz
MultiMC-3f2152c14df019f441a48e2f9926c24b0aca0fd3.zip
Let travis build a clang version
Diffstat (limited to 'cmake')
-rw-r--r--cmake/UseCXX11.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/UseCXX11.cmake b/cmake/UseCXX11.cmake
index e94de2bb..f8afaa6e 100644
--- a/cmake/UseCXX11.cmake
+++ b/cmake/UseCXX11.cmake
@@ -4,7 +4,7 @@ endif()
set(__USECXX11_CMAKE__ TRUE)
if(APPLE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++11")
elseif(UNIX)
# assume GCC, add C++0x/C++11 stuff
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")