forked from AuroraMiddleware/gtk
meson.build: Use CMake to find libjpeg on MSVC-like builds
One may be using IJG libjpeg or libjpeg-turbo to build GTK, and their build files may or may not generate pkg-config files for us. To make things easier, we can make use of CMake's built-in support for finding IJG libjpeg or libjpeg-turbo.
This commit is contained in:
parent
6eda5deeff
commit
2e34d62111
@ -422,7 +422,7 @@ png_dep = dependency(is_msvc_like ? 'png' : 'libpng',
|
||||
tiff_dep = dependency(is_msvc_like ? 'tiff' : 'libtiff-4',
|
||||
fallback: ['libtiff', 'libtiff4_dep'],
|
||||
required: true)
|
||||
jpeg_dep = dependency('libjpeg',
|
||||
jpeg_dep = dependency(is_msvc_like ? 'jpeg' : 'libjpeg',
|
||||
fallback: ['libjpeg-turbo', 'jpeg_dep'],
|
||||
required: true)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user