summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
-rw-r--r--tdelibs.pc.cmake7
2 files changed, 13 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 217668c9d..47d5b258b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -862,6 +862,12 @@ install( FILES
DESTINATION ${INCLUDE_INSTALL_DIR} )
+##### pkg-config #################################
+
+configure_file( tdelibs.pc.cmake tdelibs.pc @ONLY )
+install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tdelibs.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} )
+
+
##### subdirectories ############################
add_subdirectory( dcop )
diff --git a/tdelibs.pc.cmake b/tdelibs.pc.cmake
new file mode 100644
index 000000000..2136f2b87
--- /dev/null
+++ b/tdelibs.pc.cmake
@@ -0,0 +1,7 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@EXEC_INSTALL_PREFIX@
+libdir=@LIB_INSTALL_DIR@
+includedir=@INCLUDE_INSTALL_DIR@
+
+Name: TDELibs
+Description: Core libraries for Trinity