-
Notifications
You must be signed in to change notification settings - Fork 638
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Generate pkg-config files for all Windows builds
The Meson build system makes use of pkg-config files or CMake to find most of the dependencies via its "built-in" dependency search system. As libpng is a very widely used package, this makes the CMake build system generate pkg-config files for libpng even for non-Cygwin/non-MinGW Windows builds, so that Meson could locate libpng via pkg-config as well even on Visual Studio builds, for instance. We also do the following on native, non-MinGW Windows builds: * Replace -lpngXX with libpngXX.lib, for the libpng library that we link to * Use the correct ZLib library .lib name for `libs.private`. * Replace `Requires: zlib` with `Requires:`, since we already say in `libs.private` that we are linking to ZLib
- Loading branch information
Showing
1 changed file
with
30 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters