]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/include/CMakeLists.txt
Import ceph 15.2.8
[ceph.git] / ceph / src / include / CMakeLists.txt
index 7feffe195a9eb6bfab73b5ec38e60e40cc2e9efb..77eb4093a80aa3b34859748c2c78acdc460fe5cc 100644 (file)
@@ -1,31 +1,34 @@
-install(FILES rados/librados.h
+install(FILES
+  rados/librados.h
   rados/rados_types.h
   rados/rados_types.hpp
+  rados/librados_fwd.hpp
   rados/librados.hpp
   buffer.h
   buffer_fwd.h
   inline_memory.h
-  memory.h
   page.h
   crc32c.h
   rados/objclass.h
-  DESTINATION include/rados)
-install(FILES
-  radosstriper/libradosstriper.h
-  radosstriper/libradosstriper.hpp
-  DESTINATION include/radosstriper)
+  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rados)
+if(WITH_LIBRADOSSTRIPER)
+  install(FILES
+    radosstriper/libradosstriper.h
+    radosstriper/libradosstriper.hpp
+    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/radosstriper)
+endif()
 
 if(WITH_RBD)
   install(FILES
     rbd/features.h
     rbd/librbd.h
     rbd/librbd.hpp
-    DESTINATION include/rbd)
+    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rbd)
 endif()
 
 if(WITH_RADOSGW)
   install(FILES
     rados/librgw.h
     rados/rgw_file.h
-  DESTINATION include/rados)
+    DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/rados)
 endif()