summaryrefslogtreecommitdiffstats
path: root/cmake/UseCXX14.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/UseCXX14.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")