diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-06 11:37:00 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-03-06 11:37:00 -0600 |
commit | 592b5277b540ff566a3808f86e558d8e76d00741 (patch) | |
tree | 1edc25277d5b4545e6d5e6628506830bbe723cc4 | |
parent | 0e85a70f11e7fe3af645b534cc7b7960ce3ed4d6 (diff) | |
download | tdelibs-592b5277b540ff566a3808f86e558d8e76d00741.tar.gz tdelibs-592b5277b540ff566a3808f86e558d8e76d00741.zip |
Add TDELibs .pc
This closes Bug 882
Thanks to Aleksey Midenkov for the patch!
-rw-r--r-- | CMakeLists.txt | 6 | ||||
-rw-r--r-- | tdelibs.pc.cmake | 7 |
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 |