From: Gunnar Beutner Date: Wed, 10 Aug 2016 06:22:17 +0000 (+0200) Subject: Build fix for Ubuntu precise X-Git-Tag: v2.5.0~104 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=72faf42f1a21b2ac72e7c1ffd457392f89239e11;p=icinga2 Build fix for Ubuntu precise refs #12389 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9fd1f7ae1..5df984ab8 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}")