aboutsummaryrefslogtreecommitdiff
path: root/source/source.pro
diff options
context:
space:
mode:
Diffstat (limited to 'source/source.pro')
-rw-r--r--source/source.pro9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/source.pro b/source/source.pro
index 84149ccf..e7961bd5 100644
--- a/source/source.pro
+++ b/source/source.pro
@@ -109,7 +109,10 @@ SOURCES += QXmppUtils.cpp \
xmlrpc.cpp
# Installation
+PREFIX = /usr
headers.files = $$HEADERS
-headers.path = /usr/include/qxmpp
-target.path = /usr/lib
-INSTALLS += headers target
+headers.path = $$PREFIX/include/qxmpp
+pkgconfig.files = qxmpp.pc
+pkgconfig.path = $$PREFIX/lib/pkgconfig
+target.path = $$PREFIX/lib
+INSTALLS += headers pkgconfig target