]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: fix libaio detection
authorKefu Chai <kchai@redhat.com>
Fri, 22 Jul 2016 04:51:04 +0000 (12:51 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 25 Jul 2016 07:40:30 +0000 (15:40 +0800)
commit94db627c315fba2dd7933f1e5fc19d424e6bc105
tree2a0a05d3ef4f33816611f4813d4955be827c4d99
parentf8553f3ab9fc537f646c1f91c4d366a108a4441d
cmake: fix libaio detection

* we used to check the header file of "aio.h" which is part of glibc,
  the glibc async i/o, and the corresponding library is librt. but what
  we are using is libaio.
* reference libaio using AIO_LIBRARIES for consistency.

Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/Findaio.cmake
src/os/CMakeLists.txt