From: Bastian Dehn Date: Sat, 12 Feb 2022 14:37:41 +0000 (+0100) Subject: add: status message for build system X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=d45fae3473db3908233d204394636ff0fadad8b5;p=discspan.git add: status message for build system --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ef7f7db..2080076 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13.4) set(CMAKE_SYSTEM_NAME "Linux" CACHE STRING "Build for Linux") +message(STATUS "CMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}") + if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(CMAKE_C_COMPILER "gcc" CACHE STRING "C Compiler") set(CMAKE_CXX_COMPILER "g++" CACHE STRING "C++ Compiler") diff --git a/libs/spandisc/CMakeLists.txt b/libs/spandisc/CMakeLists.txt index f698e97..bc719cc 100644 --- a/libs/spandisc/CMakeLists.txt +++ b/libs/spandisc/CMakeLists.txt @@ -1,6 +1,7 @@ cmake_minimum_required(VERSION 3.13.4) set(CMAKE_SYSTEM_NAME "Linux" CACHE STRING "Build for Linux") +message(STATUS "CMAKE_SYSTEM_NAME=${CMAKE_SYSTEM_NAME}") if (${CMAKE_SYSTEM_NAME} MATCHES "Linux") set(CMAKE_C_COMPILER "gcc" CACHE STRING "C Compiler")