]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cmake: use cmake module to integrate liburing
authorChangcheng Liu <changcheng.liu@aliyun.com>
Mon, 13 Apr 2020 09:55:49 +0000 (17:55 +0800)
committerChangcheng Liu <changcheng.liu@aliyun.com>
Fri, 17 Apr 2020 15:22:56 +0000 (23:22 +0800)
commit36918d7f781faf89b2ed3f3da8b0f4eb3e90b342
tree8c9d5b47aaf992a5f6863d2c6c3dbbde8fac6308
parentd3d1ea5507c1e6936572155ecba9b451e07a1c53
cmake: use cmake module to integrate liburing

1. WITH_LIBURING is used to set HAVE_LIBURING to decide
   use liburing in KernelDevice or not.
2. WITH_SYSTEM_LIBURING is to choose use system installed
   liburing or build the liburing from source code.

Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
CMakeLists.txt
cmake/modules/Builduring.cmake [new file with mode: 0644]
cmake/modules/Finduring.cmake [new file with mode: 0644]
src/os/CMakeLists.txt