]> granicus.if.org Git - icinga2/commitdiff
CMake: require a GCC version according to INSTALL.md 5229/head
authorAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 5 May 2017 10:46:56 +0000 (12:46 +0200)
committerAlexander A. Klimov <alexander.klimov@icinga.com>
Fri, 12 May 2017 14:23:27 +0000 (16:23 +0200)
CMakeLists.txt

index 63fdab521df4b9576bd4a59aa37c65dcaf625374..ae784f2ba0f821b2f5a0748a87cc69360ee8b6c2 100644 (file)
@@ -246,8 +246,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
     OUTPUT_VARIABLE _ICINGA2_COMPILER_VERSION
   )
 
-  if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.6.0")
-    message(FATAL_ERROR "Your version of GCC (${CMAKE_CXX_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 4.6.0 is required).")
+  if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "4.7.0")
+    message(FATAL_ERROR "Your version of GCC (${CMAKE_CXX_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 4.7.0 is required).")
   endif()
 endif()