diff options
| author | Michael Weiss <dev.primeos@gmail.com> | 2021-04-02 19:26:57 +0200 |
|---|---|---|
| committer | Michael Weiss <dev.primeos@gmail.com> | 2021-04-02 20:55:15 +0200 |
| commit | e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c (patch) | |
| tree | feb2e1972c9eb0919cc8367a17cbf59ebd3aef3c /meson.build | |
| parent | ci: Use ci-fairy to check for Signed-off-by (diff) | |
| download | wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar.gz wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar.bz2 wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar.lz wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar.xz wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.tar.zst wayland-e4659ffbf5ee32cb55a045bf63ae1e81c0c2938c.zip | |
meson: Only require expat when building wayland-scanner
This code is only required for building wayland-scanner so it should be
scoped accordingly. libxml-2.0 will only be required if both "scanner"
and "dtd_validation" are set to true.
Signed-off-by: Michael Weiss <dev.primeos@gmail.com>
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/meson.build b/meson.build index dd5774a..12b4641 100644 --- a/meson.build +++ b/meson.build @@ -66,13 +66,6 @@ if get_option('libraries') endif endif -scanner_deps = [ dependency('expat') ] - -if get_option('dtd_validation') - scanner_deps += dependency('libxml-2.0') - config_h.set('HAVE_LIBXML', 1) -endif - configure_file( output: 'config.h', configuration: config_h, |
