mirror of
https://github.com/yhirose/cpp-httplib
synced 2024-11-21 14:29:10 -07:00
build(meson): pass feature args to dependency consumers (#1090)
Fixes #1087
This commit is contained in:
parent
301faa074c
commit
943cd51b67
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ if get_option('cpp-httplib_compile')
|
|||
version: version,
|
||||
install: true
|
||||
)
|
||||
cpp_httplib_dep = declare_dependency(link_with: lib, sources: httplib_ch[1])
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, link_with: lib, sources: httplib_ch[1])
|
||||
|
||||
import('pkgconfig').generate(
|
||||
lib,
|
||||
|
@ -101,7 +101,7 @@ if get_option('cpp-httplib_compile')
|
|||
)
|
||||
else
|
||||
install_headers('httplib.h')
|
||||
cpp_httplib_dep = declare_dependency(include_directories: include_directories('.'), dependencies: deps)
|
||||
cpp_httplib_dep = declare_dependency(compile_args: args, dependencies: deps, include_directories: include_directories('.'))
|
||||
endif
|
||||
|
||||
if meson.version().version_compare('>=0.54.0')
|
||||
|
|
Loading…
Reference in a new issue