1
0
Fork 0
forked from len0rd/rockbox

Make lrelease detection work on Windows.

Make sure to expand variable before testing.

Change-Id: I6b6f11782677c178fe3f2209f84887084940976a
This commit is contained in:
Dominik Riebeling 2015-05-30 19:16:11 +02:00
parent ef21b30454
commit e606ee42c2

View file

@ -111,11 +111,11 @@ win32:!cross {
}
lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_
QMAKE_EXTRA_TARGETS += lrelease
exists(LRELEASE) {
exists($$LRELEASE) {
message("using lrelease at $$LRELEASE")
PRE_TARGETDEPS += lrelease
}
!exists(LRELEASE) {
!exists($$LRELEASE) {
warning("could not find lrelease. Skipping translations.")
}