]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: update FUSE_INCLUDE_DIRS to match autoconf 5744/head
authorCasey Bodley <cbodley@redhat.com>
Tue, 1 Sep 2015 15:35:42 +0000 (11:35 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 1 Sep 2015 18:11:03 +0000 (14:11 -0400)
commit7c00bf05db08c4fbe77be5286b330c2da7dab779
tree53bf955a4bccfc8f0111dc037cd3ab5208de7fe2
parent37462359a3176185f25ebb7178274ecedbc30a6d
cmake: update FUSE_INCLUDE_DIRS to match autoconf

client/fuse_ll.cc is now including <fuse.h> and <fuse_lowlevel.h>
instead of <fuse/fuse.h> and <fuse/fuse_lowlevel.h>, so we need to add
the fuse directory to the FUSE_INCLUDE_DIRS variable

using find_path() with just fuse.h was finding a /usr/include/fuse.h
instead of the one in /usr/include/fuse/. looking for fuse_common.h and
fuse_lowlevel.h first causes it to generate the correct
FUSE_INCLUDE_DIRS=/usr/include/fuse

Fixes: #12909
Signed-off-by: Casey Bodley <cbodley@redhat.com>
cmake/modules/Findfuse.cmake
src/CMakeLists.txt