diff --git a/scripts/cmake/CompilerSetup.cmake b/scripts/cmake/CompilerSetup.cmake index c313832dd534770dac73bd82fbedd2a7a2c91d04..01edffd63e0e69dade6f1ca2b405dc3b71ab7126 100644 --- a/scripts/cmake/CompilerSetup.cmake +++ b/scripts/cmake/CompilerSetup.cmake @@ -52,8 +52,8 @@ endif() ### GNU C/CXX compiler if(COMPILER_IS_GCC) get_gcc_version(GCC_VERSION) - if(GCC_VERSION VERSION_LESS "4.8") - message(FATAL_ERROR "GCC minimum required version is 4.8! You are using ${GCC_VERSION}.") + if(GCC_VERSION VERSION_LESS "4.9") + message(FATAL_ERROR "GCC minimum required version is 4.9! You are using ${GCC_VERSION}.") endif() if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug") message(STATUS "Set GCC release flags")