summaryrefslogtreecommitdiffstats
path: root/src/server
diff options
context:
space:
mode:
authorManuel Bentele2021-06-16 11:33:31 +0200
committerManuel Bentele2021-06-16 11:41:16 +0200
commita04431a3125de160ca082b27ee31fa1e1037cea9 (patch)
tree4abb8f32d467f85702866ff5d5f457b7e5009a37 /src/server
parent[KERNEL] Add support for Linux kernels without blk-mq (e.g. CentOS 7) (diff)
downloaddnbd3-a04431a3125de160ca082b27ee31fa1e1037cea9.tar.gz
dnbd3-a04431a3125de160ca082b27ee31fa1e1037cea9.tar.xz
dnbd3-a04431a3125de160ca082b27ee31fa1e1037cea9.zip
[BUILD] Add check for stdatomic.h support
Diffstat (limited to 'src/server')
-rw-r--r--src/server/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/CMakeLists.txt b/src/server/CMakeLists.txt
index 1db5f06..9a1e1c4 100644
--- a/src/server/CMakeLists.txt
+++ b/src/server/CMakeLists.txt
@@ -11,6 +11,7 @@ if(NOT JANSSON_FOUND)
endif(NOT JANSSON_FOUND)
# find atomic library required by the dnbd3-server
+find_package(Stdatomic REQUIRED)
find_package(Libatomic REQUIRED)
# add compile option to enable enhanced POSIX features