diff options
author | Kefu Chai <kchai@redhat.com> | 2018-07-27 19:51:20 +0200 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2018-07-28 10:53:10 +0200 |
commit | 7dd82bbeb149c75e3f7b936f16144194405bfd7d (patch) | |
tree | 3133fa76564611929ed08a1e3be4b4c859c2c44e /src/mount/CMakeLists.txt | |
parent | cmake: extract Yasm check into a module (diff) | |
download | ceph-7dd82bbeb149c75e3f7b936f16144194405bfd7d.tar.xz ceph-7dd82bbeb149c75e3f7b936f16144194405bfd7d.zip |
cmake: extract mount.ceph into src/mount
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'src/mount/CMakeLists.txt')
-rw-r--r-- | src/mount/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mount/CMakeLists.txt b/src/mount/CMakeLists.txt new file mode 100644 index 00000000000..6ff26174461 --- /dev/null +++ b/src/mount/CMakeLists.txt @@ -0,0 +1,9 @@ +set(mount_ceph_srcs + mount.ceph.c) +add_executable(mount.ceph ${mount_ceph_srcs} + $<TARGET_OBJECTS:parse_secret_objs> + $<TARGET_OBJECTS:common_mountcephfs_objs>) +set_target_properties(mount.ceph PROPERTIES + INSTALL_RPATH "") +target_link_libraries(mount.ceph keyutils::keyutils) +install(TARGETS mount.ceph DESTINATION ${CMAKE_INSTALL_SBINDIR}) |