summaryrefslogtreecommitdiffstats
path: root/pkg/systemd
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/systemd
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/systemd')
-rw-r--r--pkg/systemd/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
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)