From ed659f3802d809bc31643b5bd9703fbc57301b58 Mon Sep 17 00:00:00 2001 From: Marcin Serwin Date: Wed, 18 Feb 2026 18:08:39 +0100 Subject: CMake: Use prefix for includedir in .pc file. The exec_prefix is meant for machine-specific files whereas headers are machine-independent. --- zlib.pc.cmakein | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zlib.pc.cmakein b/zlib.pc.cmakein index 699a3342..6f194731 100644 --- a/zlib.pc.cmakein +++ b/zlib.pc.cmakein @@ -2,7 +2,7 @@ prefix=@CMAKE_INSTALL_PREFIX@ exec_prefix=${prefix} libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ sharedlibdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@ -includedir=${exec_prefix}/@CMAKE_INSTALL_INCLUDEDIR@ +includedir=${prefix}/@CMAKE_INSTALL_INCLUDEDIR@ Name: zlib Description: zlib compression library -- cgit v1.2.3-55-g6feb