]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: link against libfuse if HAVE_LIBFUSE
authorKefu Chai <kchai@redhat.com>
Thu, 28 Jan 2016 06:47:07 +0000 (14:47 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 28 Jan 2016 15:36:45 +0000 (23:36 +0800)
commit63d3d2bec74a5779509a55fc7e09d543051481c7
tree9221667fe83f9ee774d43f514b86b9e37704d547
parentfd8ab0bd07f5f08951f6328b56619667ab1321a1
cmake: link against libfuse if HAVE_LIBFUSE

* use ${FUSE_LIBRARIES} instead of "fuse" when referencing libfuse.
* do not compile FuseStore.cc if !HAVE_LIBFUSE.
* CMakeLists.txt: s/HAVE_FUSE/HAVE_LIBFUSE/, to match with the one
  defined for config.h.in.cmake, otherwise we need two vars:
  HAVE_LIBFUSE, and HAVE_FUSE

Signed-off-by: Kefu Chai <kchai@redhat.com>
CMakeLists.txt
src/CMakeLists.txt
src/test/CMakeLists.txt