mirror of https://github.com/Icinga/icinga2.git
Require GCC 7+
This commit is contained in:
parent
d9767cff3f
commit
9e90b17eb4
|
@ -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()
|
||||
|
||||
|
|
|
@ -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++
|
||||
|
|
Loading…
Reference in New Issue