summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2015-06-06 21:00:37 +0200
committerPetr Mrázek <peterix@gmail.com>2015-06-06 21:00:37 +0200
commit161dc66c2c8d5f973ee69dab36c3969a7efd7495 (patch)
tree80c5cff951f36a590de33cc6a9bfbe54b3454100 /cmake
parent678da0b639603295169d4b15988ea0832a9f2e95 (diff)
downloadMultiMC-161dc66c2c8d5f973ee69dab36c3969a7efd7495.tar
MultiMC-161dc66c2c8d5f973ee69dab36c3969a7efd7495.tar.gz
MultiMC-161dc66c2c8d5f973ee69dab36c3969a7efd7495.tar.lz
MultiMC-161dc66c2c8d5f973ee69dab36c3969a7efd7495.tar.xz
MultiMC-161dc66c2c8d5f973ee69dab36c3969a7efd7495.zip
GH-1052 try using c++1y on OSX
Diffstat (limited to 'cmake')
-rw-r--r--cmake/UseCXX14.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/UseCXX14.cmake b/cmake/UseCXX14.cmake
index a45f3be7..95c3dd2d 100644
--- a/cmake/UseCXX14.cmake
+++ b/cmake/UseCXX14.cmake
@@ -4,7 +4,7 @@ endif()
set(__USECXX14_CMAKE__ TRUE)
if(APPLE)
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++14")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -stdlib=libc++ -std=c++1y")
elseif(UNIX)
# assume GCC, add C++0x/C++11 stuff
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")