]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/test/common/CMakeLists.txt: BLKID exclude
authorWillem Jan Withagen <wjw@digiware.nl>
Sun, 31 Jul 2016 21:53:03 +0000 (23:53 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Mon, 29 Aug 2016 14:18:29 +0000 (16:18 +0200)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/common/CMakeLists.txt

index 47c84e62802d75b89ab3897682541f5f7295591c..bc5acb7d4390c42ffbd4c0b0652ea03e73cb98e9 100644 (file)
@@ -12,12 +12,14 @@ target_link_libraries(get_command_descriptions
   ${CMAKE_DL_LIBS}
   )
 
+if(HAVE_BLKID)
 # unittest_blkdev
 add_executable(unittest_blkdev
   test_blkdev.cc
   )
 add_ceph_unittest(unittest_blkdev ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest_blkdev)
 target_link_libraries(unittest_blkdev global ${BLKID_LIBRARIES})
+endif(HAVE_BLKID)
 
 # unittest_bloom_filter
 add_executable(unittest_bloom_filter