From: vears91 Date: Sat, 25 Jun 2016 18:21:24 +0000 (+0300) Subject: cmake: Add blkin libs to target_link_libraries X-Git-Tag: v12.0.3~73^2~13 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=046b2bde6d93992c36d4943c4f7859993f034ca1;p=ceph.git cmake: Add blkin libs to target_link_libraries Signed-off-by: Victor Araujo --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 73b6b78fcb27..152e22a74993 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -625,6 +625,7 @@ install(TARGETS ceph-common DESTINATION ${CMAKE_INSTALL_PKGLIBDIR}) add_library(common_utf8 STATIC common/utf8.c) +target_link_libraries(common json_spirit common_utf8 erasure_code rt uuid resolv ${CRYPTO_LIBS} ${Boost_LIBRARIES} ${BLKID_LIBRARIES} ${EXECINFO_LIBRARIES} ${BLKIN_LIBRARIES}) if(${WITH_LTTNG}) add_subdirectory(tracing) add_dependencies(common-objs oprequest-tp)