diff options
| author | 2014-12-20 03:22:20 -0200 | |
|---|---|---|
| committer | 2014-12-20 03:45:02 -0200 | |
| commit | 98a9aba46f1b1d3705f9387f028277fd0e5ba98d (patch) | |
| tree | f456dd3613a1916f492b58013be929b7983b29c5 | |
| parent | Common: Add a clone of std::make_unique (diff) | |
| download | yuzu-98a9aba46f1b1d3705f9387f028277fd0e5ba98d.tar.gz yuzu-98a9aba46f1b1d3705f9387f028277fd0e5ba98d.tar.xz yuzu-98a9aba46f1b1d3705f9387f028277fd0e5ba98d.zip | |
Remove C++14/1y requirement
Diffstat (limited to '')
| -rw-r--r-- | CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 63738b5ff..61d5d524a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -5,8 +5,7 @@ cmake_minimum_required(VERSION 2.8.11) | |||
| 5 | project(citra) | 5 | project(citra) |
| 6 | 6 | ||
| 7 | if (NOT MSVC) | 7 | if (NOT MSVC) |
| 8 | # -std=c++14 is only supported on very new compilers, so use the old c++1y alias instead. | 8 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes") |
| 9 | set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes") | ||
| 10 | else() | 9 | else() |
| 11 | # Silence deprecation warnings | 10 | # Silence deprecation warnings |
| 12 | add_definitions(/D_CRT_SECURE_NO_WARNINGS) | 11 | add_definitions(/D_CRT_SECURE_NO_WARNINGS) |