summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorManuel Bentele2020-10-22 19:04:14 +0200
committerManuel Bentele2020-10-22 19:09:00 +0200
commitd601a5b496b3f155eb496c16d5c51ada61e3623b (patch)
treee5fdfced8ce51c5345e4372d84d4dd520d3d41bf /src
parent[BUILD] add systemd service file for dnbd3-server to installation targets (diff)
downloaddnbd3-d601a5b496b3f155eb496c16d5c51ada61e3623b.tar.gz
dnbd3-d601a5b496b3f155eb496c16d5c51ada61e3623b.tar.xz
dnbd3-d601a5b496b3f155eb496c16d5c51ada61e3623b.zip
[BUILD] disable build of dnbd3-client if Linux kernel module is disabled
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 6093164..d0c61c5 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -4,10 +4,10 @@ cmake_minimum_required(VERSION 3.10)
project(dnbd3-src)
add_subdirectory(bench)
-add_subdirectory(client)
-add_subdirectory(fuse)
if(DNBD3_KERNEL_MODULE)
+ add_subdirectory(client)
add_subdirectory(kernel)
endif(DNBD3_KERNEL_MODULE)
+add_subdirectory(fuse)
add_subdirectory(server)
add_subdirectory(shared)