From b38aa145b2eed65d1093ccdd1c93310624691444 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 6 Jan 2017 11:05:55 +0100 Subject: [PATCH] Cmake: cleanup the use of udev and blkid in target_link_lib() Signed-off-by: Willem Jan Withagen --- src/librbd/CMakeLists.txt | 1 - src/rbd_replay/CMakeLists.txt | 1 - src/test/cls_rbd/CMakeLists.txt | 4 +--- src/test/librbd/CMakeLists.txt | 1 - 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/librbd/CMakeLists.txt b/src/librbd/CMakeLists.txt index 10f57cd73c6..a7dce63f564 100644 --- a/src/librbd/CMakeLists.txt +++ b/src/librbd/CMakeLists.txt @@ -107,7 +107,6 @@ target_link_libraries(librbd LINK_PRIVATE cls_journal_client common pthread - udev ${CMAKE_DL_LIBS} ${EXTRALIBS}) if(ENABLE_SHARED) diff --git a/src/rbd_replay/CMakeLists.txt b/src/rbd_replay/CMakeLists.txt index 3a05b9a92c3..e745e894750 100644 --- a/src/rbd_replay/CMakeLists.txt +++ b/src/rbd_replay/CMakeLists.txt @@ -36,7 +36,6 @@ if(${WITH_BABELTRACE}) global babeltrace babeltrace-ctf - udev ${Boost_DATE_TIME_LIBRARY} ) install(TARGETS rbd-replay-prep DESTINATION bin) diff --git a/src/test/cls_rbd/CMakeLists.txt b/src/test/cls_rbd/CMakeLists.txt index 17400356b5d..7afcf33b3ba 100644 --- a/src/test/cls_rbd/CMakeLists.txt +++ b/src/test/cls_rbd/CMakeLists.txt @@ -14,9 +14,7 @@ target_link_libraries(ceph_test_cls_rbd ${CMAKE_DL_LIBS} ${CRYPTO_LIBS} ${EXTRALIBS} - radostest - blkid - udev) + radostest) install(TARGETS ceph_test_cls_rbd DESTINATION ${CMAKE_INSTALL_BINDIR}) diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt index 9a1f3727bfe..46580d01211 100644 --- a/src/test/librbd/CMakeLists.txt +++ b/src/test/librbd/CMakeLists.txt @@ -132,7 +132,6 @@ target_link_libraries(ceph_test_librbd_fsx ${CMAKE_DL_LIBS} ${CRYPTO_LIBS} ${EXTRALIBS} - blkid ) install(TARGETS