summaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
authorManuel Bentele2020-10-27 10:08:15 +0100
committerManuel Bentele2020-10-27 10:10:10 +0100
commit192046017af6b707d35c0d4eb99a41237499b073 (patch)
tree0ce15483a456f5738b3a9c417b8c88512077921b /pkg
parentAdd CMake build requirements check to find libraries and Linux kernel headers (diff)
downloaddnbd3-192046017af6b707d35c0d4eb99a41237499b073.tar.gz
dnbd3-192046017af6b707d35c0d4eb99a41237499b073.tar.xz
dnbd3-192046017af6b707d35c0d4eb99a41237499b073.zip
[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.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/CMakeLists.txt3
-rw-r--r--pkg/config/CMakeLists.txt3
-rw-r--r--pkg/systemd/CMakeLists.txt3
3 files changed, 6 insertions, 3 deletions
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)