]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
test/objectstore/CMakeLists.txt: fix libaio conditional 11008/head
authorSage Weil <sage@redhat.com>
Wed, 7 Sep 2016 16:40:31 +0000 (12:40 -0400)
committerSage Weil <sage@redhat.com>
Wed, 7 Sep 2016 16:40:53 +0000 (12:40 -0400)
Signed-off-by: Sage Weil <sage@redhat.com>
src/test/objectstore/CMakeLists.txt

index 403328e4c2fb2fff3dac97ee0fbc72ecaf68013e..198f2644f4b1e579dac90e5cb9ec5c6af2d18062 100644 (file)
@@ -102,7 +102,7 @@ add_executable(unittest_rocksdb_option
 add_ceph_unittest(unittest_rocksdb_option ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_rocksdb_option)
 target_link_libraries(unittest_rocksdb_option global os ${BLKID_LIBRARIES})
 
-if(WITH_AIO)
+if(HAVE_LIBAIO)
   # unittest_bit_alloc
   add_executable(unittest_bit_alloc
     BitAllocator_test.cc
@@ -129,8 +129,8 @@ if(WITH_AIO)
     )
   add_ceph_unittest(unittest_bluestore_types ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_bluestore_types)
   target_link_libraries(unittest_bluestore_types os global)
-endif(WITH_AIO)
-  
+endif(HAVE_LIBAIO)
+
 # unittest_transaction
 add_executable(unittest_transaction
   test_transaction.cc)