]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs
authorWillem Jan Withagen <wjw@digiware.nl>
Fri, 24 Feb 2017 16:45:36 +0000 (17:45 +0100)
committerWillem Jan Withagen <wjw@digiware.nl>
Fri, 24 Feb 2017 21:45:15 +0000 (22:45 +0100)
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
src/test/librbd/CMakeLists.txt

index 3d946fdc194d3f1fb110f94b2ab0bc4143210ac5..230c2fdbd7faaaafb0a9c414e7e8f5cd10cc32ce 100644 (file)
@@ -123,6 +123,7 @@ target_link_libraries(ceph_test_librbd_api
 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>
@@ -138,6 +139,7 @@ target_link_libraries(ceph_test_librbd_fsx
   ${CRYPTO_LIBS}
   ${EXTRALIBS}
   )
+endif(LINUX)
 
 install(TARGETS
   ceph_test_librbd