From: Ali Maredia Date: Wed, 22 Jun 2016 21:41:59 +0000 (-0400) Subject: cmake: add gtest to ceph_test_snap_mapper X-Git-Tag: v11.0.0~67^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=da5ade7f9e31b1081a471ed1b51fd34a10519b08;p=ceph.git cmake: add gtest to ceph_test_snap_mapper Signed-off-by: Ali Maredia --- diff --git a/src/test/CMakeLists.txt b/src/test/CMakeLists.txt index 5e3fb245d7cd..44545b0018d6 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