Browse Source

[dependencies/tqtinterface] improved pkgconfig file generation

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/dependencies/tqtinterface@1215866 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tags/v3.5.13
samelian 9 years ago
parent
commit
3db80503fa
2 changed files with 7 additions and 3 deletions
  1. +4
    -0
      CMakeLists.txt
  2. +3
    -3
      qtinterface/TQt.pc.cmake

+ 4
- 0
CMakeLists.txt View File

@@ -749,6 +749,10 @@ endforeach( LIB ${PKGCONFIG_QT_LIBRARIES} )

##### write TQt.pc ##############################

string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_EXEC_PREFIX ${EXEC_INSTALL_PREFIX} )
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_INCLUDE_DIR ${INCLUDE_INSTALL_DIR} )
string( REGEX REPLACE "^${CMAKE_INSTALL_PREFIX}" "\${prefix}" PC_LIB_DIR ${LIB_INSTALL_DIR} )

configure_file( qtinterface/TQt.pc.cmake qtinterface/TQt.pc @ONLY )




+ 3
- 3
qtinterface/TQt.pc.cmake View File

@@ -1,7 +1,7 @@
prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=${prefix}
libdir=${prefix}/@LIB_INSTALL_DIR@
includedir=${prefix}/@INCLUDE_INSTALL_DIR@
exec_prefix=@PC_EXEC_PREFIX@
libdir=@PC_LIB_DIR@
includedir=@PC_INCLUDE_DIR@

Name: TQt
Description: Interface and abstraction library for Qt and Trinity


Loading…
Cancel
Save