summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 17:53:15 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-06-12 17:53:15 -0500
commitb2d01d000c11d7c0dd183e1af059f81ac5249c25 (patch)
treeb5350e1f993f34d0ff6ec5703c1da63c0454deef
parent8104b62a19379b41e78c7b4ee808fec5d3340603 (diff)
downloadtdegraphics-b2d01d000c11d7c0dd183e1af059f81ac5249c25.tar.gz
tdegraphics-b2d01d000c11d7c0dd183e1af059f81ac5249c25.zip
Add poppler-tqt.pc file
-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 d07e8134..42d50a80 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 ${PKGCONFIG_INSTALL_DIR} )
+
##### 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..ce2b40d8
--- /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
+
+Name: poppler-tqt
+Description: TQt bindings for poppler
+Version: @POPPLER_VERSION@
+Requires: poppler = @POPPLER_VERSION@
+
+Libs: -L${libdir} -lpoppler-tqt
+Cflags: -I${includedir}