From 285afdeeb026730ef64f3893ad836239b6e2a151 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Tue, 28 Feb 2017 09:32:38 +0100 Subject: [PATCH] src/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD Signed-off-by: Willem Jan Withagen --- src/test/librbd/CMakeLists.txt | 34 ++++++++++++++++++---------------- 1 file changed, 18 insertions(+), 16 deletions(-) diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt index 710ae1276df06..24cf0b152ae94 100644 --- a/src/test/librbd/CMakeLists.txt +++ b/src/test/librbd/CMakeLists.txt @@ -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_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_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}) -- 2.39.5