mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-24 17:01:06 +00:00
CMakeLists: Compile as C++14 on non-windows targets
MSVC 2015 supports some aspects of C++14, such as constexpr min/max, etc.
This commit is contained in:
parent
a67df5ad94
commit
ecbe6099f3
@ -65,7 +65,7 @@ endif()
|
||||
message(STATUS "Target architecture: ${ARCHITECTURE}")
|
||||
|
||||
if (NOT MSVC)
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wno-attributes -pthread")
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++1y -Wno-attributes -pthread")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pthread")
|
||||
|
||||
if (ARCHITECTURE_x86_64)
|
||||
|
Loading…
Reference in New Issue
Block a user