forked from AuroraMiddleware/gtk
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.
This commit is contained in:
parent
83b98738b6
commit
6eda5deeff
@ -419,7 +419,7 @@ pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req,
|
|||||||
png_dep = dependency(is_msvc_like ? 'png' : 'libpng',
|
png_dep = dependency(is_msvc_like ? 'png' : 'libpng',
|
||||||
fallback: ['libpng', 'libpng_dep'],
|
fallback: ['libpng', 'libpng_dep'],
|
||||||
required: true)
|
required: true)
|
||||||
tiff_dep = dependency('libtiff-4',
|
tiff_dep = dependency(is_msvc_like ? 'tiff' : 'libtiff-4',
|
||||||
fallback: ['libtiff', 'libtiff4_dep'],
|
fallback: ['libtiff', 'libtiff4_dep'],
|
||||||
required: true)
|
required: true)
|
||||||
jpeg_dep = dependency('libjpeg',
|
jpeg_dep = dependency('libjpeg',
|
||||||
|
Loading…
Reference in New Issue
Block a user