From 9b8b0eb7264ca5676bc522782eac7a4edd8eb3aa Mon Sep 17 00:00:00 2001 From: Carles Fernandez Date: Sat, 12 Aug 2017 13:22:54 +0200 Subject: [PATCH] Fix building of extra tests in Debian 9 --- src/tests/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tests/CMakeLists.txt b/src/tests/CMakeLists.txt index 1ee248914..4403d3616 100644 --- a/src/tests/CMakeLists.txt +++ b/src/tests/CMakeLists.txt @@ -403,6 +403,7 @@ if(ENABLE_SYSTEM_TESTING) set(HOST_SYSTEM "Unknown") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(HOST_SYSTEM "GNU/Linux ${LINUX_DISTRIBUTION} ${LINUX_VER} ${ARCH_}") + string(REPLACE "\n" "" HOST_SYSTEM "${HOST_SYSTEM}") endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") set(HOST_SYSTEM "MacOS")