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:
parent
ef21b30454
commit
e606ee42c2
1 changed files with 2 additions and 2 deletions
|
@ -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.")
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue