From: Kefu Chai Date: Fri, 22 Jul 2016 15:12:33 +0000 (+0800) Subject: cmake: fix the build of unittest_async_compressor X-Git-Tag: v11.0.1~676^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f4cbfec5810161a5d9a12a29065201ced8de6dec;p=ceph-ci.git cmake: fix the build of unittest_async_compressor it was broken by 1e8388c Signed-off-by: Kefu Chai --- diff --git a/src/test/common/CMakeLists.txt b/src/test/common/CMakeLists.txt index 60beb01106c..487086b1df1 100644 --- a/src/test/common/CMakeLists.txt +++ b/src/test/common/CMakeLists.txt @@ -155,11 +155,12 @@ add_ceph_unittest(unittest_bit_vector ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/unittest target_link_libraries(unittest_bit_vector global) # unittest_async_compressor +# the test is disabled, because async_compressor is not used anywhere yet. add_executable(unittest_async_compressor - test_async_compressor.cc -) -target_link_libraries(unittest_async_compressor global) + test_async_compressor.cc) +target_link_libraries(unittest_async_compressor global ${UNITTEST_LIBS}) add_dependencies(unittest_async_compressor ceph_snappy) +set_target_properties(unittest_async_compressor PROPERTIES COMPILE_FLAGS ${UNITTEST_CXX_FLAGS}) # unittest_interval_set add_executable(unittest_interval_set