From 1827c690a629af6ff348a43f004e17d6e4473626 Mon Sep 17 00:00:00 2001 From: Willem Jan Withagen Date: Fri, 24 Feb 2017 17:45:36 +0100 Subject: [PATCH] test/librbd/CMakeLists.txt: ceph_test_librbd_fsx requires linux includes/libs Signed-off-by: Willem Jan Withagen --- src/test/librbd/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/librbd/CMakeLists.txt b/src/test/librbd/CMakeLists.txt index 3d946fdc194..230c2fdbd7f 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 -- 2.39.5