1
mirror of https://invent.kde.org/network/falkon.git synced 2024-12-20 10:46:35 +01:00

Unix: Allow git hooks to work for development on all related nixes including Mac (#2264)

This commit is contained in:
Marti Martz 2017-03-21 13:02:05 -06:00 committed by David Rosca
parent c6c907aa45
commit ac903a9c10

View File

@ -83,12 +83,14 @@ haiku-* {
DEFINES *= USE_LIBPATH=\\\"""$$library_folder"\\\""
DEFINES *= USE_DATADIR=\\\"""$$data_folder"\\\""
# Define QZ_WS_X11 even with Qt5 (but only when building for X11)
!contains(DEFINES, NO_X11) DEFINES *= QZ_WS_X11
}
unix: {
# Git revision
rev = $$system(cd ../ && sh $$PWD/../scripts/getrevision.sh)
!equals(rev, ""): DEFINES *= GIT_REVISION=\\\"""$$rev"\\\""
# Define QZ_WS_X11 even with Qt5 (but only when building for X11)
!contains(DEFINES, NO_X11) DEFINES *= QZ_WS_X11
}
isEmpty(QMAKE_LRELEASE) {