summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--qtinterface/CMakeLists.txt1
-rw-r--r--qtinterface/tqtqui.pc.cmake11
2 files changed, 12 insertions, 0 deletions
diff --git a/qtinterface/CMakeLists.txt b/qtinterface/CMakeLists.txt
index c50bf1f..6017bd0 100644
--- a/qtinterface/CMakeLists.txt
+++ b/qtinterface/CMakeLists.txt
@@ -139,6 +139,7 @@ foreach( _lib ${QT_LIBRARIES} )
endforeach( )
configure_file( tqt.pc.cmake tqt.pc @ONLY )
+configure_file( tqtqui.pc.cmake tqt.pc @ONLY )
install( FILES ${CMAKE_CURRENT_BINARY_DIR}/tqt.pc DESTINATION ${PKGCONFIG_INSTALL_DIR} )
diff --git a/qtinterface/tqtqui.pc.cmake b/qtinterface/tqtqui.pc.cmake
new file mode 100644
index 0000000..689a185
--- /dev/null
+++ b/qtinterface/tqtqui.pc.cmake
@@ -0,0 +1,11 @@
+prefix=@CMAKE_INSTALL_PREFIX@
+exec_prefix=@PC_EXEC_PREFIX@
+libdir=@PC_LIB_DIR@
+includedir=@PC_INCLUDE_DIR@
+
+Name: TQtQUI
+Description: Interface and abstraction library for Qt and Trinity (QUI library)
+Version: @TQT_VERSION@
+Libs: -L${libdir} -ltqt -ltqui -L@QT_LIBRARY_DIR@ @PC_QT_LIBRARIES@
+Cflags: @QT_DEFINITIONS@ -I@QT_INCLUDE_DIR@ -I${includedir} -include tqt.h
+