From 2d6f4505afea26f233361c4b387398b788e23a48 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 7 Jul 2021 17:46:44 +0200 Subject: [PATCH] Increased the minimum required GCC version to cover C++14. --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 56b6d02fe..1da5f7a91 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}")