cmake: use ${CEPH_SHARED} when adding libradosstriper

Signed-off-by: Kefu Chai <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2016-06-22 23:19:02 +08:00
parent e468b9b0db
commit 4d3de44385

View File

@ -2,7 +2,7 @@ set(libradosstriper_srcs
libradosstriper.cc
RadosStriperImpl.cc
MultiAioCompletionImpl.cc)
add_library(radosstriper ${libradosstriper_srcs})
add_library(radosstriper ${CEPH_SHARED} ${libradosstriper_srcs})
target_link_libraries(radosstriper librados cls_lock_client osdc common pthread ${CRYPTO_LIBS} ${EXTRALIBS})
set_target_properties(radosstriper PROPERTIES
OUPUT_NAME radosstriper