meson.build: Consolidate items with MSVC-like compilers
authorChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 21 Feb 2022 09:41:00 +0000 (17:41 +0800)
committerChun-wei Fan <fanchunwei@src.gnome.org>
Mon, 21 Feb 2022 09:53:31 +0000 (17:53 +0800)
commit83b98738b678056d420e69c2ae894f5d08219a0e
tree6c3ff3b4463e1708b35a7ea6ec6b5a1c3e4ecaab
parenta07455aa0d4205e5a6167ba0e03bf296ebcc8be3
meson.build: Consolidate items with MSVC-like compilers

Add a variable in meson.build that covers Visual Studio-like compilers,
so that we can use it to help us find depedencies using CMake rather
than via pkg-config, where applicable.

Change the existing use case for finding libpng accordingly.
meson.build