summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 17:53:15 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-06-14 16:50:15 +0200
commit720e1d7b07cc617e873f2a9cfa5560105bfaa14d (patch)
tree8928e31666416c2286f71728195d48a2ebbaab90
parenta0c32e0a6adf1f571e74f4985fc5e25f0b3cb361 (diff)
downloadtdegraphics-720e1d7b07cc617e873f2a9cfa5560105bfaa14d.tar.gz
tdegraphics-720e1d7b07cc617e873f2a9cfa5560105bfaa14d.zip
Add poppler-tqt.pc file
(cherry picked from commit b2d01d000c11d7c0dd183e1af059f81ac5249c25)
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt6
-rw-r--r--kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake12
2 files changed, 18 insertions, 0 deletions
diff --git a/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt b/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt
index 07d422db..6b674fac 100644
--- a/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt
+++ b/kfile-plugins/dependencies/poppler-tqt/CMakeLists.txt
@@ -28,6 +28,12 @@ link_directories(
${TQT_LIBRARY_DIRS}
)
+##### pc files ##################################
+
+configure_file( poppler-tqt.pc.cmake poppler-tqt.pc @ONLY )
+
+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/poppler-tqt.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig )
+
##### headers ###################################
install( FILES
diff --git a/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake b/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake
new file mode 100644
index 00000000..b759d000
--- /dev/null
+++ b/kfile-plugins/dependencies/poppler-tqt/poppler-tqt.pc.cmake
@@ -0,0 +1,12 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=${prefix}
+libdir=${exec_prefix}/lib
+includedir=${prefix}/include/kde
+
+Name: poppler-tqt
+Description: TQt bindings for poppler
+Version: @POPPLER_VERSION@
+Requires: poppler = @POPPLER_VERSION@
+
+Libs: -L${libdir} -lpoppler-tqt
+Cflags: -I${includedir}