]> granicus.if.org Git - icinga2/commitdiff
Improve error message for old versions of GCC
authorGunnar Beutner <gunnar.beutner@netways.de>
Sat, 27 Aug 2016 05:45:37 +0000 (07:45 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Sat, 27 Aug 2016 05:45:37 +0000 (07:45 +0200)
refs #12537

CMakeLists.txt

index 3076851eda5d6af471cb0b9ec3e5fe2ea111a95a..6c855bd170db975f03257370df4633e04ca969b3 100644 (file)
@@ -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()