summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
m---------cmake0
-rw-r--r--tdelibs.pc.cmake7
3 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/cmake b/cmake
-Subproject 6b3a1fc54f258941ae7ae10909a23d32afee9df
+Subproject 6868254e6c10ba5b95ef622b25c39144f3d1161
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