mirror of
https://github.com/falk-werner/webfuse
synced 2025-06-02 07:24:13 +00:00
make libfuse3 optional
This commit is contained in:
parent
f92f6aabb4
commit
3543e45291
@ -7,7 +7,14 @@ if not libwebsockets_dep.found()
|
||||
libwebsockets_dep = declare_dependency(link_with: 'websockets')
|
||||
endif
|
||||
|
||||
libfuse_dep = dependency('fuse3', version: '>=3.1.0')
|
||||
libfuse_dep = dependency('fuse3', version: '>=3.8.0', required: false)
|
||||
if (no libfuse_dep.found()
|
||||
thread_dep = dependency('threads')
|
||||
libfuse_dep = declare_dependency(
|
||||
link_with: ['fuse3'],
|
||||
include_directories: ['fuse3'],
|
||||
dependencies: thread_dep)
|
||||
endif
|
||||
|
||||
pkg_config = import('pkgconfig')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user