diff options
Diffstat (limited to 'qmidiplayer-desktop/qmidiplayer-desktop.pro')
-rw-r--r-- | qmidiplayer-desktop/qmidiplayer-desktop.pro | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qmidiplayer-desktop/qmidiplayer-desktop.pro b/qmidiplayer-desktop/qmidiplayer-desktop.pro index 9e169e6..e3d6492 100644 --- a/qmidiplayer-desktop/qmidiplayer-desktop.pro +++ b/qmidiplayer-desktop/qmidiplayer-desktop.pro @@ -60,6 +60,14 @@ unix{ isEmpty(PREFIX) { PREFIX = /usr/local } + BUILDM = $$(QMP_BUILD_MODE) + isEmpty(BUILDM) { + message(Building in normal(debugging) mode...) + } + else { + message(Building in packaging mode...) + DEFINES += QMP_BUILD_UNIX_PACKAGE + } BINDIR = $$PREFIX/bin target.path = $$BINDIR DATADIR = $$PREFIX/share |