[icinga-checkins] icinga.org: icinga2/master: Build fix for Ubuntu precise

git at icinga.org git at icinga.org
Wed Aug 10 08:22:26 CEST 2016


Module: icinga2
Branch: master
Commit: 72faf42f1a21b2ac72e7c1ffd457392f89239e11
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=72faf42f1a21b2ac72e7c1ffd457392f89239e11

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Wed Aug 10 08:22:17 2016 +0200

Build fix for Ubuntu precise

refs #12389

---

 CMakeLists.txt |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 9fd1f7a..5df984a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -60,7 +60,7 @@ set(ICINGA2_BUILD_COMPILER_NAME "${CMAKE_CXX_COMPILER_ID}")
 
 if(NOT CMAKE_CXX_COMPILER_VERSION)
   execute_process(COMMAND ${CMAKE_CXX_COMPILER} -dumpversion
-    OUTPUT_VARIABLE CMAKE_CXX_COMPILER_VERSION)
+    OUTPUT_VARIABLE CMAKE_CXX_COMPILER_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
 endif()
 
 set(ICINGA2_BUILD_COMPILER_VERSION "${CMAKE_CXX_COMPILER_VERSION}")



More information about the icinga-checkins mailing list