diff options
author | Lovell Fuller <github@lovell.info> | 2023-01-25 14:18:00 +0000 |
---|---|---|
committer | Lovell Fuller <github@lovell.info> | 2023-01-25 14:18:08 +0000 |
commit | 4dcc6264eb4a9a48941512c6e603d2cb4507ddc5 (patch) | |
tree | a7ea28a00f76f9e891b0b43e3f3daba2dfb29070 | |
parent | d6cbcd6bc1325d2130ec10cbdb53b4826e15ff8b (diff) | |
download | lcms2-4dcc6264eb4a9a48941512c6e603d2cb4507ddc5.tar.gz |
Build: skip utils with missing optional dependencies
- jpgicc depends on optional libjpeg
- tificc depends on optional libtiff-4
-rw-r--r-- | utils/meson.build | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/utils/meson.build b/utils/meson.build index 4789323..49316b1 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -1,6 +1,10 @@ subdir('common') -subdir('jpgicc') +if jpeg_dep.found() + subdir('jpgicc') +endif subdir('linkicc') subdir('psicc') -subdir('tificc') +if tiff_dep.found() + subdir('tificc') +endif subdir('transicc') |