]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tracing/CMakeLists.txt
update sources to v12.1.2
[ceph.git] / ceph / src / tracing / CMakeLists.txt
index 72257138baaf02fa8045561c0f14be6e7e45c670..ec2a8b4f0acc5bb42685426b7365ab25c05f5ac8 100644 (file)
@@ -44,10 +44,13 @@ endfunction()
 set(osd_traces oprequest.tp osd.tp pg.tp)
 add_tracing_library(osd_tp "${osd_traces}" 1.0.0)
 add_tracing_library(rados_tp librados.tp 2.0.0)
-add_tracing_library(rbd_tp librbd.tp 1.0.0)
 add_tracing_library(os_tp objectstore.tp 1.0.0)
 
-install(TARGETS rados_tp osd_tp rbd_tp os_tp DESTINATION ${CMAKE_INSTALL_LIBDIR})
+install(TARGETS rados_tp osd_tp os_tp DESTINATION ${CMAKE_INSTALL_LIBDIR})
+if(WITH_RBD)
+  add_tracing_library(rbd_tp librbd.tp 1.0.0)
+  install(TARGETS rbd_tp DESTINATION ${CMAKE_INSTALL_LIBDIR})
+endif(WITH_RBD)
 if(WITH_OSD_INSTRUMENT_FUNCTIONS)
   add_tracing_library(cyg_profile_tp cyg_profile.tp 1.0.0)
   install(TARGETS cyg_profile_tp DESTINATION ${CMAKE_INSTALL_LIBDIR})