add_library(rbd_replay_ios STATIC ${librbd_replay_ios_srcs})
target_link_libraries(rbd_replay_ios librbd librados global)
-if(${WITH_BABELTRACE})
+if(HAVE_BABELTRACE)
add_executable(rbd-replay-prep
rbd-replay-prep.cc)
target_link_libraries(rbd-replay-prep
global
babeltrace
babeltrace-ctf
- ${Boost_DATE_TIME_LIBRARY}
+ Boost::date_time
)
install(TARGETS rbd-replay-prep DESTINATION bin)
-endif(${WITH_BABELTRACE})
+endif(HAVE_BABELTRACE)
+