On Thu, 26 Jul 2018, Casey Bodley wrote:
target_link_libraries(librados PRIVATE osdc ceph-common cls_lock_client ${BLKID_LIBRARIES} ${CRYPTO_LIBS} ${EXTRALIBS})the PRIVATE there means that the link dependencies aren't transitive - so while rados will link with librados, it won't link directly with cls_lock_client
Ah! Another mysterious mystery of cmake. Thank you.Now, is the solution to go ahead and link with cls_lock_client (there's a static library that I see has been built)?
-Jesse