From 192046017af6b707d35c0d4eb99a41237499b073 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Tue, 27 Oct 2020 10:08:15 +0100 Subject: [BUILD] remove the build requirement for an unused C++ compiler This patch sets the programming languages of each CMake project to C. With this change, CMake does not search for an unused C++ compiler anymore. --- pkg/CMakeLists.txt | 3 ++- pkg/config/CMakeLists.txt | 3 ++- pkg/systemd/CMakeLists.txt | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'pkg') diff --git a/pkg/CMakeLists.txt b/pkg/CMakeLists.txt index 3112696..3060345 100644 --- a/pkg/CMakeLists.txt +++ b/pkg/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(dnbd3-pkg) +project(dnbd3-pkg + LANGUAGES C) add_subdirectory(config) add_subdirectory(systemd) diff --git a/pkg/config/CMakeLists.txt b/pkg/config/CMakeLists.txt index 1d553db..efbd2bf 100644 --- a/pkg/config/CMakeLists.txt +++ b/pkg/config/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(dnbd3-config) +project(dnbd3-config + LANGUAGES C) # define all configuration files set(DNBD3_CONFIG_FILES ${CMAKE_CURRENT_SOURCE_DIR}/alt-servers diff --git a/pkg/systemd/CMakeLists.txt b/pkg/systemd/CMakeLists.txt index d1e5087..b094b4b 100644 --- a/pkg/systemd/CMakeLists.txt +++ b/pkg/systemd/CMakeLists.txt @@ -1,7 +1,8 @@ cmake_minimum_required(VERSION 3.10) # set the project name -project(dnbd3-systemd) +project(dnbd3-systemd + LANGUAGES C) # define all systemd related files set(DNBD3_SYSTEMD_FILES ${CMAKE_CURRENT_SOURCE_DIR}/dnbd3-server.service) -- cgit v1.2.3-55-g7522