diff options
author | Manuel Bentele | 2021-06-16 11:33:31 +0200 |
---|---|---|
committer | Manuel Bentele | 2021-06-16 11:41:16 +0200 |
commit | a04431a3125de160ca082b27ee31fa1e1037cea9 (patch) | |
tree | 4abb8f32d467f85702866ff5d5f457b7e5009a37 /src/server | |
parent | [KERNEL] Add support for Linux kernels without blk-mq (e.g. CentOS 7) (diff) | |
download | dnbd3-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.txt | 1 |
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 |