]> git.proxmox.com Git - ceph.git/blame - ceph/src/mount/CMakeLists.txt
import 15.2.0 Octopus source
[ceph.git] / ceph / src / mount / CMakeLists.txt
CommitLineData
9f95a23c
TL
1find_package(PkgConfig QUIET REQUIRED)
2pkg_check_modules(CAPNG REQUIRED libcap-ng)
3
11fdf7f2 4set(mount_ceph_srcs
eafe8130 5 mount.ceph.c conf.cc)
11fdf7f2
TL
6add_executable(mount.ceph ${mount_ceph_srcs}
7 $<TARGET_OBJECTS:parse_secret_objs>
8 $<TARGET_OBJECTS:common_mountcephfs_objs>)
eafe8130 9target_link_libraries(mount.ceph keyutils::keyutils ${CAPNG_LIBRARIES} global ceph-common)
11fdf7f2 10install(TARGETS mount.ceph DESTINATION ${CMAKE_INSTALL_SBINDIR})