[gtk/msvc-cmake-dep: 2/3] meson.build: Use CMake to find libtiff on MSVC-like
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/msvc-cmake-dep: 2/3] meson.build: Use CMake to find libtiff on MSVC-like
- Date: Mon, 21 Feb 2022 09:54:17 +0000 (UTC)
commit 6eda5deefffaa284ee01824544befa9536e1507d
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Mon Feb 21 17:46:11 2022 +0800
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.
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]