diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-22 13:31:56 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2016-08-23 00:05:15 +0200 |
commit | a643a92efb9dacec0442152c77b9a57bb7590ece (patch) | |
tree | 9ebdda7eba91e49d2ab935bd12df467a17e73805 /cmake/apple.cmake | |
parent | 8a80cba8c336eb39a69aadde8d2c44b8f9c54026 (diff) |
cmake: go back to c++11
We don't use c++14 features yet, and GNU 5.3.0 has missing make_unique anyway.
Diffstat (limited to 'cmake/apple.cmake')
-rw-r--r-- | cmake/apple.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/apple.cmake b/cmake/apple.cmake index 2a4b49d0..d3cc41eb 100644 --- a/cmake/apple.cmake +++ b/cmake/apple.cmake @@ -1,12 +1,12 @@ set(CMAKE_BUILD_TYPE_INIT RELEASE) -set(CMAKE_CXX_FLAGS "-arch x86_64 -std=c++14 -stdlib=libc++" CACHE STRING "" FORCE) +set(CMAKE_CXX_FLAGS "-arch x86_64 -std=c++11 -stdlib=libc++" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS "-arch x86_64" CACHE STRING "" FORCE) set(CMAKE_C_FLAGS_RELEASE "-ffast-math -O3 -flto -fvisibility=hidden -g" CACHE STRING "" FORCE) set(CMAKE_CXX_FLAGS_RELEASE " ${CMAKE_C_FLAGS_RELEASE}" CACHE STRING "" FORCE) -set(cmake-link-common "-stdlib=libc++ -std=c++14 -arch x86_64") +set(cmake-link-common "-stdlib=libc++ -std=c++11 -arch x86_64") set(CMAKE_EXE_LINKER_FLAGS "${cmake-link-common} -Wl,-stack_size,0x4000000" CACHE STRING "" FORCE) set(CMAKE_SHARED_LINKER_FLAGS ${cmake-link-common} CACHE STRING "" FORCE) set(CMAKE_MODULE_LINKER_FLAGS ${cmake-link-common} CACHE STRING "" FORCE) |