Skip to content

build: Clean up search for deps on Visual Studio

Chun-wei Fan requested to merge meson-cleanups into master

Hi,

This attempts to clean up the build files for Visual Studio builds by having CMake to help us find libpng, IJG libjpeg (or libjpeg-turbo) and libtiff, as:

  • CMake has built-in support for looking for these libaries, which is actually done behind the scenes manually.
  • CMake does a more comprehensive job than us to look for these libraries manually.
  • CMake is an optional component for Visual Studio 2017 and later, and is easily installable and widely used on Windows build env's.

This does, however, require the use of slightly different package names for these deps, so that they are recognized by CMake.

With blessings, thank you!

Edited by Chun-wei Fan

Merge request reports