diff options
author | Matthew Waters <matthew@centricular.com> | 2018-10-08 21:14:05 +1100 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2018-10-08 21:48:48 +1100 |
commit | fc37708313a5fc52083cf10c9326f3509d67701f (patch) | |
tree | a2b135fb2b800c5b917b21b6eb620aea01078541 | |
parent | 8c76a02bc6fffcb0fc57d855cec3afd694fbfe5c (diff) | |
download | gdk-pixbuf-fc37708313a5fc52083cf10c9326f3509d67701f.tar.gz |
meson: don't build tests or the thumbnailer if cross building
-rw-r--r-- | meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build index 6b0ba49e2..56ef4f1f1 100644 --- a/meson.build +++ b/meson.build @@ -396,8 +396,10 @@ endif # i18n subdir('po') -subdir('tests') -subdir('thumbnailer') +if not meson.is_cross_build() + subdir('tests') + subdir('thumbnailer') +endif # Documentation subdir('docs') |