X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fceph%2Fsrc%2Focf%2FCMakeLists.txt;fp=src%2Fceph%2Fsrc%2Focf%2FCMakeLists.txt;h=0ff0efcd96e314bc966becd69828ead7d512f17c;hb=812ff6ca9fcd3e629e49d4328905f33eee8ca3f5;hp=0000000000000000000000000000000000000000;hpb=15280273faafb77777eab341909a3f495cf248d9;p=stor4nfv.git diff --git a/src/ceph/src/ocf/CMakeLists.txt b/src/ceph/src/ocf/CMakeLists.txt new file mode 100644 index 0000000..0ff0efc --- /dev/null +++ b/src/ceph/src/ocf/CMakeLists.txt @@ -0,0 +1,10 @@ +# The root of the OCF resource agent hierarchy +# Per the OCF standard, it's always "lib", +# not "lib64" (even on 64-bit platforms). +set(ocf_dir ${CMAKE_INSTALL_PREFIX}/lib/ocf) + +# The ceph provider directory +set(ra_dir ${ocf_dir}/resource.d/${PROJECT_NAME}) + +configure_file(rbd.in rbd @ONLY) +install(FILES ${CMAKE_CURRENT_BINARY_DIR}/rbd DESTINATION ${ra_dir})