mirror of
https://github.com/falk-werner/webfuse
synced 2024-10-27 20:34:10 +00:00
added wrap file of libwebsockets
This commit is contained in:
parent
273e56bd63
commit
67ccadee4e
@ -4,8 +4,13 @@ without_adapter = get_option('without_adapter')
|
|||||||
without_provider = get_option('without_provider')
|
without_provider = get_option('without_provider')
|
||||||
without_tests = get_option('without_tests') or without_adapter or without_provider
|
without_tests = get_option('without_tests') or without_adapter or without_provider
|
||||||
|
|
||||||
|
libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.13', required: false)
|
||||||
|
if not libwebsockets_dep.found()
|
||||||
|
cmake = import('cmake')
|
||||||
|
libwebsockets = cmake.subproject('libwebsockets')
|
||||||
|
libwebsockets_dep = libwebsockets.dependency('websockets_shared')
|
||||||
|
endif
|
||||||
|
|
||||||
libwebsockets_dep = dependency('libwebsockets', version: '>=4.0.1')
|
|
||||||
jansson_dep = dependency('jansson', version: '>=2.11', fallback: ['jansson', 'jansson_dep'])
|
jansson_dep = dependency('jansson', version: '>=2.11', fallback: ['jansson', 'jansson_dep'])
|
||||||
|
|
||||||
pkg_config = import('pkgconfig')
|
pkg_config = import('pkgconfig')
|
||||||
|
6
subprojects/libwebsockets.wrap
Normal file
6
subprojects/libwebsockets.wrap
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
[wrap-file]
|
||||||
|
directory = libwebsockets-4.0.13
|
||||||
|
|
||||||
|
source_url = https://github.com/warmcat/libwebsockets/archive/v4.0.13.zip
|
||||||
|
source_filename = v4.0.13.zip
|
||||||
|
source_hash = 0914ea3fdec496daf6b6a5c00f7ba1b52eb8cc3d55b66685df92920b232fd7a5
|
Loading…
Reference in New Issue
Block a user