mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 15:44:11 +02:00
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
|
OUTPUT_VARIABLE _ICINGA2_COMPILER_VERSION
|
||||||
)
|
)
|
||||||
|
|
||||||
if("${CMAKE_CXX_COMPILER_VERSION}" VERSION_LESS "6.3.0")
|
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 >= 6.3.0 is required).")
|
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()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@ -2173,7 +2173,7 @@ Icinga application using a dist tarball (including notes for distributions):
|
|||||||
* cmake >= 2.6
|
* cmake >= 2.6
|
||||||
* GNU make (make) or ninja-build
|
* GNU make (make) or ninja-build
|
||||||
* C++ compiler which supports C++14
|
* 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
|
* Debian/Ubuntu: build-essential
|
||||||
* Alpine: build-base
|
* Alpine: build-base
|
||||||
* you can also use clang++
|
* you can also use clang++
|
||||||
|
Loading…
x
Reference in New Issue
Block a user