diff --git a/CMakeLists.txt b/CMakeLists.txt index 109202018..196d3ce71 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -386,8 +386,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") OUTPUT_VARIABLE _ICINGA2_COMPILER_VERSION ) - if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "6.3.0") - message(FATAL_ERROR "Your version of GCC (${CMAKE_CXX_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 6.3.0 is required).") + if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "7.0.0") + message(FATAL_ERROR "Your version of GCC (${CMAKE_CXX_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 7.0.0 is required).") endif() endif() diff --git a/doc/21-development.md b/doc/21-development.md index dae57485c..c25ae839a 100644 --- a/doc/21-development.md +++ b/doc/21-development.md @@ -2173,7 +2173,7 @@ Icinga application using a dist tarball (including notes for distributions): * cmake >= 2.6 * GNU make (make) or ninja-build * C++ compiler which supports C++14 - * RHEL/Fedora/SUSE: gcc-c++ >= 6.3 (extra Developer Tools on RHEL7 see below) + * RHEL/Fedora/SUSE: gcc-c++ >= 7 (extra Developer Tools on RHEL7 see below) * Debian/Ubuntu: build-essential * Alpine: build-base * you can also use clang++