From da5ade7f9e31b1081a471ed1b51fd34a10519b08 Mon Sep 17 00:00:00 2001 From: Ali Maredia Date: Wed, 22 Jun 2016 17:41:59 -0400 Subject: [PATCH] cmake: add gtest to ceph_test_snap_mapper Signed-off-by: Ali Maredia --- src/test/CMakeLists.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 5e3fb245d7c..44545b0018d 100644 --- a/src/test/CMakeLists.txt +++ b/src/test/CMakeLists.txt @@ -416,7 +416,8 @@ target_link_libraries(ceph_test_keys mon global ${CMAKE_DL_LIBS}) add_executable(ceph_test_snap_mapper EXCLUDE_FROM_ALL test_snap_mapper.cc ) -target_link_libraries(ceph_test_snap_mapper osd global ${BLKID_LIBRARIES}) +target_link_libraries(ceph_test_snap_mapper osd global ${BLKID_LIBRARIES} ${UNITTEST_LIBS}) +set_target_properties(ceph_test_snap_mapper PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS}) add_executable(ceph_test_stress_watch test_stress_watch.cc -- 2.47.3