From a7454dff63d70f695087d96d11bbb94a986640b2 Mon Sep 17 00:00:00 2001 From: Sven Anderson Date: Fri, 21 May 2021 02:12:32 +0200 Subject: [PATCH] include/cephfs: add cephfs headers to CMakeLists.txt If WITH_LIBCEPHFS is set, the cephfs headers are installed as well by the install target. Signed-off-by: Sven Anderson --- src/include/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/include/CMakeLists.txt b/src/include/CMakeLists.txt index dc3ecbb9f9bb7..91eb92cdd1c60 100644 --- a/src/include/CMakeLists.txt +++ b/src/include/CMakeLists.txt @@ -36,3 +36,10 @@ if(WITH_RADOSGW) rados/rgw_file.h DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rados) endif() + +if(WITH_LIBCEPHFS) + install(FILES + cephfs/libcephfs.h + cephfs/ceph_ll_client.h + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/cephfs) +endif() -- 2.39.5