summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <vonreth@kde.org>2017-08-13 19:34:47 +0200
committerAlbert Astals Cid <aacid@kde.org>2017-08-13 20:12:50 +0200
commitebb336028f955c33079c9c76c6b9d66c92d9c77b (patch)
tree892159450c4f35d4c7c00ea06521605072c55edf
parentfa842145279cfb5c302064e0b6d129de50077f8c (diff)
cmake: Install the .pc file
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54977b3..a0a75af 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -2,6 +2,7 @@ project(poppler-data NONE)
cmake_minimum_required(VERSION 2.6)
+set(VERSION "0.4.7")
set(datadir ${CMAKE_INSTALL_PREFIX}/share)
set(pkgdatadir ${datadir}/poppler)
@@ -283,3 +284,6 @@ set(cid-to-unicode-files
cidToUnicode/Adobe-Korea1
)
install(FILES ${cid-to-unicode-files} DESTINATION ${pkgdatadir}/cidToUnicode)
+
+configure_file(poppler-data.pc.in poppler-data.pc @ONLY)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/poppler-data.pc DESTINATION ${datadir}/pkgconfig)