aboutsummaryrefslogtreecommitdiff
path: root/lumina-search
diff options
context:
space:
mode:
authorKen Moore <ken@pcbsd.org>2015-01-03 08:32:54 -0500
committerKen Moore <ken@pcbsd.org>2015-01-03 08:32:54 -0500
commit4d7afcb227992d8fb7f93e65aee21acf266cd179 (patch)
tree91f69dbf93fdfa5904cdbeec93324e707e7103ff /lumina-search
parentMake sure to adjust the lumina-[fm/config] main.cpp to account for the new Lu... (diff)
downloadlumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.tar.gz
lumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.tar.bz2
lumina-4d7afcb227992d8fb7f93e65aee21acf266cd179.zip
Add support for the LIBPREFIX qmake variable for all the project files. This allows a user to run qmake LIBPREFIX="something" PREFIX="something" to ensure that libraries are found in the proper location.
Diffstat (limited to 'lumina-search')
-rw-r--r--lumina-search/lumina-search.pro8
1 files changed, 6 insertions, 2 deletions
diff --git a/lumina-search/lumina-search.pro b/lumina-search/lumina-search.pro
index dba757dc..410592d3 100644
--- a/lumina-search/lumina-search.pro
+++ b/lumina-search/lumina-search.pro
@@ -8,6 +8,10 @@ isEmpty(PREFIX) {
}
target.path = $$PREFIX/bin
+isEmpty(LIBPREFIX) {
+ LIBPREFIX = $$PREFIX/lib
+}
+
TEMPLATE = app
SOURCES += main.cpp \
@@ -21,9 +25,9 @@ FORMS += MainUI.ui
INCLUDEPATH += ../libLumina $$PREFIX/include
-LIBS += -L../libLumina -L$$PREFIX/lib -lLuminaUtils
+LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils
-LRELEASE = $$PREFIX/lib/qt5/bin/lrelease
+LRELEASE = $$LIBPREFIX/qt5/bin/lrelease
QMAKE_LIBDIR = ../libLumina
bgstack15