summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorSimon Rettberg2020-11-13 09:12:41 +0100
committerSimon Rettberg2020-11-13 09:12:41 +0100
commitaccb2c708a47b3a65f70568e4f35fbbf1978dbaf (patch)
treecf2993761547c5a5fe8135af3dcec9443f48f0c8 /cmake
parentcmake: No sign conversion warnings (diff)
downloaddnbd3-accb2c708a47b3a65f70568e4f35fbbf1978dbaf.tar.gz
dnbd3-accb2c708a47b3a65f70568e4f35fbbf1978dbaf.tar.xz
dnbd3-accb2c708a47b3a65f70568e4f35fbbf1978dbaf.zip
cmake: Add default include dir for fuse
Without this, the FindFuse module will silently set the wrong include path for fuse if we don't have pkg-config installed, leading to compile errors. We could either make pkg-config a requirement, or try to fall back to its default path.
Diffstat (limited to 'cmake')
-rw-r--r--cmake/FindFuse.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindFuse.cmake b/cmake/FindFuse.cmake
index f3a6f29..d29edb2 100644
--- a/cmake/FindFuse.cmake
+++ b/cmake/FindFuse.cmake
@@ -55,7 +55,7 @@ set(FUSE_INCLUDE_DIRS )
find_package(PkgConfig QUIET)
-set(PC_FUSE_INCLUDE_DIRS )
+set(PC_FUSE_INCLUDE_DIRS "/usr/include/fuse")
set(PC_FUSE_LIBRARY_DIRS )
if(PKG_CONFIG_FOUND)
pkg_check_modules(PC_FUSE "fuse" QUIET)