From 3af2e03a4a0090c75e9e86399e53235d6fe548bc Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 5 Mar 2022 08:48:17 -0500 Subject: [PATCH] Add pkg-config support --- libqpdf.pc.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/libqpdf.pc.in b/libqpdf.pc.in index d45df49e..1a809f85 100644 --- a/libqpdf.pc.in +++ b/libqpdf.pc.in @@ -1,11 +1,11 @@ -prefix=@prefix@ -exec_prefix=@exec_prefix@ -libdir=@libdir@ -includedir=@includedir@ +prefix=@CMAKE_INSTALL_PREFIX@ +exec_prefix=${prefix} +libdir=@CMAKE_INSTALL_FULL_LIBDIR@ +includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ Name: libqpdf Description: PDF transformation library -Version: @PACKAGE_VERSION@ -Requires.private: zlib, libjpeg +Version: @PROJECT_VERSION@ +Requires.private: zlib, libjpeg@CRYPTO_PKG@ Libs: -L${libdir} -lqpdf Cflags: -I${includedir}