From: Chun-wei Fan Date: Mon, 21 Feb 2022 09:46:11 +0000 (+0800) Subject: meson.build: Use CMake to find libtiff on MSVC-like X-Git-Tag: archive/raspbian/4.6.5+ds-1+rpi1~1^2~19^2~3^2~87^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6eda5deefffaa284ee01824544befa9536e1507d;p=gtk4.git meson.build: Use CMake to find libtiff on MSVC-like The CMake build files for libtiff may or may not generate pkg-config files for us, so we can use Meson's CMake support to help us find libtiff, as CMake has built-in support for finding libtiff. --- diff --git a/meson.build b/meson.build index b76d1d65c5..4a1e41d4a5 100644 --- a/meson.build +++ b/meson.build @@ -419,7 +419,7 @@ pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req, png_dep = dependency(is_msvc_like ? 'png' : 'libpng', fallback: ['libpng', 'libpng_dep'], required: true) -tiff_dep = dependency('libtiff-4', +tiff_dep = dependency(is_msvc_like ? 'tiff' : 'libtiff-4', fallback: ['libtiff', 'libtiff4_dep'], required: true) jpeg_dep = dependency('libjpeg',