From 60e86e02ff51dda5aaacf52989eddfe3c02f2e86 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sat, 27 Aug 2016 07:45:37 +0200 Subject: [PATCH] Improve error message for old versions of GCC refs #12537 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.40.0