libxml2 no longer has dependency to zlib, iconv and lzma.
This commit is contained in:
parent
56382a0cb8
commit
7d5d09bdb4
1 changed files with 8 additions and 6 deletions
10
meson.build
10
meson.build
|
@ -1,12 +1,15 @@
|
|||
project('meson-test', 'cpp',
|
||||
project(
|
||||
'meson-test',
|
||||
'cpp',
|
||||
version:'0.1',
|
||||
default_options : ['warning_level=3', 'cpp_std=c++11']
|
||||
default_options:['warning_level=3', 'cpp_std=c++11'],
|
||||
meson_version: '>=0.61.5'
|
||||
)
|
||||
|
||||
# Libraries
|
||||
|
||||
# libxml2
|
||||
libxml2_proj = subproject('libxml2', default_options: ['python=false', 'default_library=static'])
|
||||
libxml2_proj = subproject('libxml2', default_options: ['python=false', 'iconv=disabled', 'lzma=disabled', 'zlib=disabled', 'default_library=static'])
|
||||
libxml2_dep = libxml2_proj.get_variable('xml_dep')
|
||||
|
||||
# poco
|
||||
|
@ -20,7 +23,6 @@ poco_proj = cmake.subproject('poco', options: opt_var)
|
|||
poco_dep_foundation = poco_proj.dependency(['Foundation'])
|
||||
poco_dep_util = poco_proj.dependency(['Util'])
|
||||
|
||||
|
||||
# Include directories
|
||||
incdir = include_directories('include')
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue