Merge pull request #247 from seb314/submit/install_path_option

optional INSTALL_PATH qmake flag (on unix)
This commit is contained in:
Volker Fischer 2020-05-21 21:39:36 +02:00 committed by GitHub
commit 003eebe676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -301,6 +301,16 @@ DISTFILES_OBOE += libs/oboe/AUTHORS \
android/AndroidManifest.xml \ android/AndroidManifest.xml \
android/sound.h \ android/sound.h \
android/sound.cpp android/sound.cpp
isEmpty(PREFIX) {
PREFIX = /usr/local
}
isEmpty(BINDIR) {
BINDIR = bin
}
BINDIR = $$absolute_path($$BINDIR, $$PREFIX)
INSTALLS += target
target.path = $$BINDIR
} }
RCC_DIR = src/res RCC_DIR = src/res