diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-16 04:15:08 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-16 04:15:08 +0100 |
commit | cd2a31eaf4a35568a18840eba7d3cdac59881d2f (patch) | |
tree | 37a4d61adebae300e8ef172538c6a2d2eae80ff1 /CMakeLists.txt | |
parent | Update README.md (diff) | |
parent | Work around libstdc++'s lack of support for std::hash on enums (diff) | |
download | yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar.gz yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar.bz2 yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar.lz yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar.xz yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.tar.zst yuzu-cd2a31eaf4a35568a18840eba7d3cdac59881d2f.zip |
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 61d5d524a..63738b5ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,8 @@ cmake_minimum_required(VERSION 2.8.11) project(citra) if (NOT MSVC) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") + # -std=c++14 is only supported on very new compilers, so use the old c++1y alias instead. + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes") else() # Silence deprecation warnings add_definitions(/D_CRT_SECURE_NO_WARNINGS) |