mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-14 21:37:52 -07:00
CMake: Increase minimum GCC version to 6.0
Dolphin uses nested namespaces from the C++17 standard, which are only supported in GCC 6.0 and later. See comments in GH-6866 for details.
This commit is contained in:
parent
1825e231a3
commit
c36695175f
@ -203,8 +203,8 @@ endif()
|
|||||||
|
|
||||||
|
|
||||||
# Enforce minimum GCC version
|
# Enforce minimum GCC version
|
||||||
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.0)
|
if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU" AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS 6.0)
|
||||||
message(FATAL_ERROR "Dolphin requires at least GCC 5.0 (found ${CMAKE_CXX_COMPILER_VERSION})")
|
message(FATAL_ERROR "Dolphin requires at least GCC 6.0 (found ${CMAKE_CXX_COMPILER_VERSION})")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_GENERATOR MATCHES "Ninja")
|
if(CMAKE_GENERATOR MATCHES "Ninja")
|
||||||
|
Loading…
Reference in New Issue
Block a user