Don't link with 'global' from rbd (to match
autotools update
fa78739). Fixes "g_ceph_context
defined twice" error.
Signed-off-by: John Spray <john.spray@redhat.com>
$<TARGET_OBJECTS:parse_secret_objs>
$<TARGET_OBJECTS:heap_profiler_objs>)
set_target_properties(rbd PROPERTIES OUTPUT_NAME rbd)
- target_link_libraries(rbd global librbd librados common keyutils udev
+ target_link_libraries(rbd librbd librados common keyutils udev
${BLKID_LIBRARIES} ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
install(TARGETS rbd DESTINATION bin)
install(PROGRAMS ${CMAKE_SOURCE_DIR}/src/ceph-rbdnamer DESTINATION bin)