diff options
author | Ken Moore <ken@pcbsd.org> | 2015-01-03 08:32:54 -0500 |
---|---|---|
committer | Ken Moore <ken@pcbsd.org> | 2015-01-03 08:32:54 -0500 |
commit | 4d7afcb227992d8fb7f93e65aee21acf266cd179 (patch) | |
tree | 91f69dbf93fdfa5904cdbeec93324e707e7103ff /lumina-open/lumina-open.pro | |
parent | Make sure to adjust the lumina-[fm/config] main.cpp to account for the new Lu... (diff) | |
download | lumina-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-open/lumina-open.pro')
-rw-r--r-- | lumina-open/lumina-open.pro | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lumina-open/lumina-open.pro b/lumina-open/lumina-open.pro index d713c4c2..37f55e32 100644 --- a/lumina-open/lumina-open.pro +++ b/lumina-open/lumina-open.pro @@ -8,6 +8,10 @@ isEmpty(PREFIX) { } target.path = $$PREFIX/bin +isEmpty(LIBPREFIX) { + LIBPREFIX = $$PREFIX/lib +} + TEMPLATE = app SOURCES += main.cpp \ @@ -20,15 +24,11 @@ FORMS += LFileDialog.ui RESOURCES+= lumina-open.qrc INCLUDEPATH += ../libLumina $$PREFIX/include -LIBS += -L../libLumina -L$$PREFIX/lib -lLuminaUtils +LIBS += -L../libLumina -L$$LIBPREFIX -lLuminaUtils QMAKE_LIBDIR = ../libLumina DEPENDPATH += ../libLumina -openbsd-g++4 { - LRELEASE = lrelease4 -} else { - LRELEASE = $$PREFIX/lib/qt5/bin/lrelease -} +LRELEASE = $$LIBPREFIX/qt5/bin/lrelease TRANSLATIONS = i18n/lumina-open_af.ts \ i18n/lumina-open_ar.ts \ |