From: Willem Jan Withagen Date: Fri, 24 Feb 2017 16:45:36 +0000 (+0100) Subject: test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs X-Git-Tag: v12.0.1~248^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F13630%2Fhead;p=ceph.git test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs Signed-off-by: Willem Jan Withagen --- diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt index 3d946fdc194d..230c2fdbd7fa 100644 --- a/src/test/librbd/CMakeLists.txt +++ b/src/test/librbd/CMakeLists.txt @@ -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 $ @@ -138,6 +139,7 @@ target_link_libraries(ceph_test_librbd_fsx ${CRYPTO_LIBS} ${EXTRALIBS} ) +endif(LINUX) install(TARGETS ceph_test_librbd