mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
parent
60e86e02ff
commit
03b593fa67
@ -245,8 +245,8 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
|
||||
OUTPUT_VARIABLE _ICINGA2_COMPILER_VERSION
|
||||
)
|
||||
|
||||
if("${_ICINGA2_COMPILER_VERSION}" VERSION_LESS "4.6.0")
|
||||
message(FATAL_ERROR "Your version of GCC (${_ICINGA2_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 4.6.0 is required).")
|
||||
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).")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user