summaryrefslogtreecommitdiff
path: root/poppler-cpp.pc.cmake
diff options
context:
space:
mode:
authorEmilio Pozuelo Monfort <pochu27@gmail.com>2017-10-31 00:20:29 +0100
committerAlbert Astals Cid <aacid@kde.org>2017-10-31 00:20:55 +0100
commit67c3878ef10449b241c37d1022e2518029860335 (patch)
tree99001db5552e13274fe82eaf0c120f8e1f0df084 /poppler-cpp.pc.cmake
parent4d109589e5d2ac989d4fd7ac318ddf976f3106ed (diff)
cmake: support GNUInstallDirs
This allows users to set various install directories, e.g. libdir, includedir, mandir... Bug #103211
Diffstat (limited to 'poppler-cpp.pc.cmake')
-rw-r--r--poppler-cpp.pc.cmake5
1 files changed, 2 insertions, 3 deletions
diff --git a/poppler-cpp.pc.cmake b/poppler-cpp.pc.cmake
index 3f56b3d9..a26177a5 100644
--- a/poppler-cpp.pc.cmake
+++ b/poppler-cpp.pc.cmake
@@ -1,7 +1,6 @@
prefix=@CMAKE_INSTALL_PREFIX@
-exec_prefix=${prefix}
-libdir=${exec_prefix}/lib@LIB_SUFFIX@
-includedir=${prefix}/include
+libdir=@CMAKE_INSTALL_LIBDIR@
+includedir=@CMAKE_INSTALL_INCLUDEDIR@
Name: poppler-cpp
Description: cpp backend for Poppler PDF rendering library