]>
Commit | Line | Data |
---|---|---|
9f95a23c TL |
1 | find_package(PkgConfig QUIET REQUIRED) |
2 | pkg_check_modules(CAPNG REQUIRED libcap-ng) | |
3 | ||
11fdf7f2 | 4 | set(mount_ceph_srcs |
eafe8130 | 5 | mount.ceph.c conf.cc) |
11fdf7f2 TL |
6 | add_executable(mount.ceph ${mount_ceph_srcs} |
7 | $<TARGET_OBJECTS:parse_secret_objs> | |
8 | $<TARGET_OBJECTS:common_mountcephfs_objs>) | |
eafe8130 | 9 | target_link_libraries(mount.ceph keyutils::keyutils ${CAPNG_LIBRARIES} global ceph-common) |
11fdf7f2 | 10 | install(TARGETS mount.ceph DESTINATION ${CMAKE_INSTALL_SBINDIR}) |