aboutsummaryrefslogtreecommitdiff
path: root/lumina-config/lumina-config.pro
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-config/lumina-config.pro
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-config/lumina-config.pro')
-rw-r--r--lumina-config/lumina-config.pro12
1 files changed, 6 insertions, 6 deletions
diff --git a/lumina-config/lumina-config.pro b/lumina-config/lumina-config.pro
index 821daf05..ba2e96cf 100644
--- a/lumina-config/lumina-config.pro
+++ b/lumina-config/lumina-config.pro
@@ -8,6 +8,10 @@ isEmpty(PREFIX) {
}
target.path = $$PREFIX/bin
+isEmpty(LIBPREFIX) {
+ LIBPREFIX = $$PREFIX/lib
+}
+
TEMPLATE = app
SOURCES += main.cpp \
@@ -34,13 +38,9 @@ FORMS += mainUI.ui \
INCLUDEPATH += ../libLumina $$PREFIX/include
-LIBS += -L../libLumina -L$$PREFIX/lib -lLuminaUtils
+LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils
-openbsd-g++4 {
- LRELEASE = lrelease4
-} else {
- LRELEASE = $$PREFIX/lib/qt5/bin/lrelease
-}
+LRELEASE = $$LIBPREFIX/qt5/bin/lrelease
QMAKE_LIBDIR = ../libLumina
DEPENDPATH += ../libLumina
bgstack15