From: Gunnar Beutner Date: Sat, 27 Aug 2016 05:45:37 +0000 (+0200) Subject: Improve error message for old versions of GCC X-Git-Tag: v2.6.0~204 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=60e86e02ff51dda5aaacf52989eddfe3c02f2e86;p=icinga2 Improve error message for old versions of GCC refs #12537 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3076851ed..6c855bd17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -246,7 +246,7 @@ if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") ) if("${_ICINGA2_COMPILER_VERSION}" VERSION_LESS "4.6.0") - message(FATAL_ERRORSTATUS "Your version of GCC is too old for building Icinga 2 (GCC >= 4.6.0 is required).") + message(FATAL_ERROR "Your version of GCC (${_ICINGA2_COMPILER_VERSION}) is too old for building Icinga 2 (GCC >= 4.6.0 is required).") endif() endif()