]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
src/test/librbd/CMakeLists.txt: Need to exclude the fsx executable also on FreeBSD 13686/head
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 28 Feb 2017 08:32:38 +0000 (09:32 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 28 Feb 2017 08:32:38 +0000 (09:32 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/librbd/CMakeLists.txt

index 710ae1276df0611d689350fbbbb7c0726b52cd7a..24cf0b152ae941d39f1d9272e89e16fbb862b7ba 100644 (file)
@@ -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})