Przeglądaj źródła

Remove C++14/1y requirement

Yuri Kunde Schlesner 11 lat temu
rodzic
commit
98a9aba46f
1 zmienionych plików z 1 dodań i 2 usunięć
  1. 1 2
      CMakeLists.txt

+ 1 - 2
CMakeLists.txt

@@ -5,8 +5,7 @@ cmake_minimum_required(VERSION 2.8.11)
 project(citra)
 
 if (NOT MSVC)
-    # -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")
+    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes")
 else()
     # Silence deprecation warnings
     add_definitions(/D_CRT_SECURE_NO_WARNINGS)