aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorMillian Poquet <millian.poquet@inria.fr>2018-12-10 18:54:40 +0100
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2018-12-10 11:12:36 -0800
commitb3db08ffccb78d680d8f7665ad9ed4cff6f92fcf (patch)
tree9f2f15bedd24fd6490536c4e112a9d841d43bc99 /scripts
parentba84465d2efdc6ca4c555f9d0c9f8932212f260c (diff)
downloadpugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.zip
pugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.tar.gz
pugixml-b3db08ffccb78d680d8f7665ad9ed4cff6f92fcf.tar.bz2
pkg-config: Use CMake GnuInstallDirs FULL vars
Fixes an installation problem in Nix packages, as non-FULL variables are already absolute paths in this case.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/pugixml.pc.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/pugixml.pc.in b/scripts/pugixml.pc.in
index a167827..f9c3fd4 100644
--- a/scripts/pugixml.pc.in
+++ b/scripts/pugixml.pc.in
@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
-includedir=${prefix}/include@INSTALL_SUFFIX@
-libdir=${exec_prefix}/@CMAKE_INSTALL_LIBDIR@@INSTALL_SUFFIX@
+includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@@INSTALL_SUFFIX@
+libdir=@CMAKE_INSTALL_FULL_LIBDIR@@INSTALL_SUFFIX@
Name: pugixml
Description: Light-weight, simple and fast XML parser for C++ with XPath support.