Skip to content

Commit

Permalink
Merge pull request #13686 from wjwithagen/wip-wjw-fsx-linux-2
Browse files Browse the repository at this point in the history
test: Need to exclude the fsx executable also on FreeBSD

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
Jason Dillaman committed Feb 28, 2017
2 parents 1f0824b + 285afde commit 0ca0a0a
Showing 1 changed file with 18 additions and 16 deletions.
34 changes: 18 additions & 16 deletions src/test/librbd/CMakeLists.txt
Expand Up @@ -125,25 +125,27 @@ set_target_properties(ceph_test_librbd_api PROPERTIES COMPILE_FLAGS
${UNITTEST_CXX_FLAGS})

if(LINUX)
add_executable(ceph_test_librbd_fsx
fsx.cc
$<TARGET_OBJECTS:common_texttable_obj>
)
target_link_libraries(ceph_test_librbd_fsx
librbd
librados
journal
krbd
global
m
${CMAKE_DL_LIBS}
${CRYPTO_LIBS}
${EXTRALIBS}
)
add_executable(ceph_test_librbd_fsx
fsx.cc
$<TARGET_OBJECTS:common_texttable_obj>
)
target_link_libraries(ceph_test_librbd_fsx
librbd
librados
journal
krbd
global
m
${CMAKE_DL_LIBS}
${CRYPTO_LIBS}
${EXTRALIBS}
)
install(TARGETS
ceph_test_librbd_fsx
DESTINATION ${CMAKE_INSTALL_BINDIR})
endif(LINUX)

install(TARGETS
ceph_test_librbd
ceph_test_librbd_api
ceph_test_librbd_fsx
DESTINATION ${CMAKE_INSTALL_BINDIR})

0 comments on commit 0ca0a0a

Please sign in to comment.