mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-09 07:39:26 +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)
|
||||
if(NOT FLAG_CXX_CXX14)
|
||||
check_and_add_flag(HAS_CXX1Y -std=c++1y)
|
||||
endif()
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_EXTENSIONS OFF)
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "Windows")
|
||||
add_definitions(-DNOMINMAX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user