]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
include/cephfs: add cephfs headers to CMakeLists.txt 41466/head
authorSven Anderson <sven@redhat.com>
Fri, 21 May 2021 00:12:32 +0000 (02:12 +0200)
committerSven Anderson <sven@redhat.com>
Fri, 21 May 2021 00:12:32 +0000 (02:12 +0200)
If WITH_LIBCEPHFS is set, the cephfs headers are installed as well by
the install target.

Signed-off-by: Sven Anderson <sven@redhat.com>
src/include/CMakeLists.txt

index dc3ecbb9f9bb7d42f785a16d9d26e67937a112b7..91eb92cdd1c60f1ca542a4c063da7c758e85e1c1 100644 (file)
@@ -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()