mirror of
https://github.com/falk-werner/webfuse
synced 2025-06-07 01:44:32 +00:00
make libwebsockets optional
This commit is contained in:
parent
1e590b20ff
commit
f92f6aabb4
@ -2,8 +2,12 @@ project('webfuse', 'c', 'cpp', version: '0.6.0', license: 'LGPL-3.0+')
|
|||||||
|
|
||||||
without_tests = get_option('without_tests')
|
without_tests = get_option('without_tests')
|
||||||
|
|
||||||
libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.0')
|
libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.0', required: false)
|
||||||
libfuse_dep = dependency('fuse3', version: '>=3.8.0')
|
if not libwebsockets_dep.found()
|
||||||
|
libwebsockets_dep = declare_dependency(link_with: 'websockets')
|
||||||
|
endif
|
||||||
|
|
||||||
|
libfuse_dep = dependency('fuse3', version: '>=3.1.0')
|
||||||
|
|
||||||
pkg_config = import('pkgconfig')
|
pkg_config = import('pkgconfig')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user