1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-14 04:00:34 +00:00

Fix building of extra tests in Debian 9

This commit is contained in:
Carles Fernandez 2017-08-12 13:22:54 +02:00
parent 02ea8acbfd
commit 9b8b0eb726

View File

@ -403,6 +403,7 @@ if(ENABLE_SYSTEM_TESTING)
set(HOST_SYSTEM "Unknown") set(HOST_SYSTEM "Unknown")
if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") if(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set(HOST_SYSTEM "GNU/Linux ${LINUX_DISTRIBUTION} ${LINUX_VER} ${ARCH_}") set(HOST_SYSTEM "GNU/Linux ${LINUX_DISTRIBUTION} ${LINUX_VER} ${ARCH_}")
string(REPLACE "\n" "" HOST_SYSTEM "${HOST_SYSTEM}")
endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux") endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
set(HOST_SYSTEM "MacOS") set(HOST_SYSTEM "MacOS")