1
0
mirror of https://github.com/madler/zlib.git synced 2026-10-25 14:39:19 +03:00

6 Commits

Author SHA1 Message Date
Marcin Serwin
91292b1c44 CMake: Emit correct variables for absolute install directories.
The CMAKE_INSTALL_*DIR variables can be absolute. In that case they
should not be appended to the prefix.
2026-03-26 16:05:52 -07:00
Marcin Serwin
ed659f3802 CMake: Use prefix for includedir in .pc file.
The exec_prefix is meant for machine-specific files whereas headers
are machine-independent.
2026-03-26 16:05:52 -07:00
Marcin Serwin
bb65dcb3dc CMake: Define exec_prefix to be the same as prefix in .pc file.
This makes it easier to relocate the package since only one
variable needs to be overridden.
2026-03-26 16:05:37 -07:00
Nobuhiro Iwamatsu
249e7533cb Specify the zlib license in pkg-config files.
The pkg-config file has License variable that that sets the software license.
This sets 'Zlib' as defined in SPDX to License.
2026-02-11 12:19:30 -08:00
Vollstrecker
15ba5055a9 CMake: Adapt pkgconfig-file to the GnuInstallDirs layout. 2025-01-31 19:59:10 -08:00
Christoph J. Thompson
ca6e7a0d55 Generate and install the pkg-config file with cmake. 2012-03-11 10:16:04 -07:00