changeset 10:1b53acea13ae 1.3.0

Support for relocating the source include directory.
author John Schneiderman <JohnMS@CodeGNU.com>
date Tue, 17 Jun 2014 02:25:30 +0000
parents 96034efc6750
children fbd3a2c646dd
files src/qargs.pro
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/qargs.pro	Tue Jun 17 01:56:14 2014 +0000
+++ b/src/qargs.pro	Tue Jun 17 02:25:30 2014 +0000
@@ -120,7 +120,11 @@
 } else {
     target.path += $${PREFIX}/$$(LIB_PATH)
 }
-headers.path += $${PREFIX}/include
+isEmpty(INC_PATH) {
+   headers.path += $${PREFIX}/include
+} else {
+   headers.path += $${PREFIX}/$${INC_PATH}
+}
 headers.files +=  *.h
 INSTALLS += \
     target \