]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: mark FUSE REQUIRED if WITH_FUSE 46142/head
authorKefu Chai <tchaikov@gmail.com>
Wed, 4 May 2022 11:19:08 +0000 (19:19 +0800)
committerKefu Chai <tchaikov@gmail.com>
Wed, 4 May 2022 11:23:16 +0000 (19:23 +0800)
commit6e102a4de85f9a2ab7400ccb3673b35d6ed88143
treeadb276e39601c473b1925220693a70cb7a8bdd8d
parentdbe7f75e66765ec8a44cd91245b6475165e07b2e
cmake: mark FUSE REQUIRED if WITH_FUSE

in src/CMakeLists.txt, if "WITH_FUSE" is true, we always link ceph-fuse
against FUSE::FUSE no matter what FUSE_FOUND is.

to avoid the FTBFS when FUSE is not found when building ceph-fuse, we'd
better fail early by marking FUSE a must have.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
CMakeLists.txt