From 743e505140e1c89ae4a969f443bdc3802a694472 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 26 May 2016 16:28:56 +0800 Subject: [PATCH] cmake: install mount.ceph into /sbin should use absolute path otherwise it is installed into /usr/sbin, and dh_install won't find it this way. Signed-off-by: Kefu Chai --- src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dfa3500c48dfd..a3b415913cb7a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1101,7 +1101,7 @@ endif(${ENABLE_SHARED}) target_link_libraries(mount.ceph keyutils) install(TARGETS ceph-syn DESTINATION bin) - install(TARGETS mount.ceph DESTINATION sbin) + install(TARGETS mount.ceph DESTINATION /sbin) if(HAVE_LIBFUSE) set(ceph_fuse_srcs -- 2.39.5