Skip to content

Commit

Permalink
Merge pull request #3834 from linuxbox2/xio-build
Browse files Browse the repository at this point in the history
cmake:  build fixes

Reviewed-by: Loic Dachary <ldachary@redhat.com>
  • Loading branch information
ldachary committed Feb 28, 2015
2 parents 721b3a0 + 9ad02c9 commit 3b424bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Expand Up @@ -658,6 +658,7 @@ if(${WITH_RBD})
librbd/CopyupRequest.cc
librbd/ImageCtx.cc
librbd/ImageWatcher.cc
librbd/WatchNotifyTypes.cc
librbd/internal.cc
librbd/librbd.cc
librbd/LibrbdWriteback.cc
Expand Down
9 changes: 9 additions & 0 deletions src/test/CMakeLists.txt
Expand Up @@ -92,6 +92,8 @@ target_link_libraries(test_keys mon global ${CMAKE_DL_LIBS} ${TCMALLOC_LIBS})
## dencoder
set(dencoder_srcs
encoding/ceph_dencoder.cc
${CMAKE_SOURCE_DIR}/src/krbd.cc
${CMAKE_SOURCE_DIR}/src/common/secret.c
${CMAKE_SOURCE_DIR}/src/common/TextTable.cc
)
if(${WITH_RADOSGW})
Expand All @@ -106,11 +108,15 @@ endif(${WITH_RADOSGW})
add_executable(dencoder ${dencoder_srcs} $<TARGET_OBJECTS:heap_profiler_objs>)
target_link_libraries(dencoder
librados
librbd
global
osd
mds
mon
osdc
blkid
udev
keyutils
${EXTRALIBS}
${TCMALLOC_LIBS}
${CMAKE_DL_LIBS}
Expand Down Expand Up @@ -1091,6 +1097,9 @@ target_link_libraries(multi_stress_watch librados global radostest
add_executable(test_librbd
librbd/test_librbd.cc
librbd/test_fixture.cc
librbd/test_ImageWatcher.cc
librbd/test_internal.cc
librbd/test_main.cc
$<TARGET_OBJECTS:heap_profiler_objs>
${CMAKE_SOURCE_DIR}/src/common/TextTable.cc
${CMAKE_SOURCE_DIR}/src/common/secret.c
Expand Down

0 comments on commit 3b424bf

Please sign in to comment.