mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 15:49:25 +01:00
CMake: Use CMAKE_CXX_STANDARD instead of passing -std=c++14
Available since CMake 3.1
This commit is contained in:
parent
a3557ed199
commit
4c580bc3b7
@ -1,7 +1,5 @@
|
|||||||
check_and_add_flag(CXX14 -std=c++14)
|
set(CMAKE_CXX_STANDARD 14)
|
||||||
if(NOT FLAG_CXX_CXX14)
|
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||||
check_and_add_flag(HAS_CXX1Y -std=c++1y)
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||||
add_definitions(-DNOMINMAX)
|
add_definitions(-DNOMINMAX)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user