mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-24 23:25:38 +00:00
Increased the minimum required GCC version to cover C++14.
This commit is contained in:
parent
b861600814
commit
2d6f4505af
|
@ -107,8 +107,8 @@ if("${CMAKE_CXX_COMPILER_ID}" MATCHES "Clang")
|
|||
elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
|
||||
message("-- Compiler is GNU/GCC")
|
||||
execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpfullversion OUTPUT_VARIABLE G++_VERSION)
|
||||
if(G++_VERSION VERSION_LESS 4.8)
|
||||
message(SEND_ERROR "You need at least GCC 4.8 to compile EmulationStation-DE")
|
||||
if(G++_VERSION VERSION_LESS 5.4)
|
||||
message(SEND_ERROR "You need at least GCC 5.4 to compile EmulationStation-DE")
|
||||
endif()
|
||||
if(WIN32)
|
||||
set(CMAKE_CXX_FLAGS "-mwindows ${CMAKE_CXX_FLAGS}")
|
||||
|
|
Loading…
Reference in a new issue