diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2015-05-30 19:16:11 +0200 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2015-05-30 19:16:11 +0200 |
commit | e606ee42c20dbed0a41cf6d676dcf4833be9df9b (patch) | |
tree | 0003cb572c1e4d0e7d93e6548c3e692ed59d6a3d | |
parent | ef21b304547a20569e95df782e29759b5f9ee44a (diff) | |
download | rockbox-e606ee42c20dbed0a41cf6d676dcf4833be9df9b.tar.gz rockbox-e606ee42c20dbed0a41cf6d676dcf4833be9df9b.zip |
Make lrelease detection work on Windows.
Make sure to expand variable before testing.
Change-Id: I6b6f11782677c178fe3f2209f84887084940976a
-rw-r--r-- | rbutil/rbutilqt/rbutilqt.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro index 71ab77ac62..243e592255 100644 --- a/rbutil/rbutilqt/rbutilqt.pro +++ b/rbutil/rbutilqt/rbutilqt.pro | |||
@@ -111,11 +111,11 @@ win32:!cross { | |||
111 | } | 111 | } |
112 | lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_ | 112 | lrelease.commands = $$LRELEASE -silent $$_PRO_FILE_ |
113 | QMAKE_EXTRA_TARGETS += lrelease | 113 | QMAKE_EXTRA_TARGETS += lrelease |
114 | exists(LRELEASE) { | 114 | exists($$LRELEASE) { |
115 | message("using lrelease at $$LRELEASE") | 115 | message("using lrelease at $$LRELEASE") |
116 | PRE_TARGETDEPS += lrelease | 116 | PRE_TARGETDEPS += lrelease |
117 | } | 117 | } |
118 | !exists(LRELEASE) { | 118 | !exists($$LRELEASE) { |
119 | warning("could not find lrelease. Skipping translations.") | 119 | warning("could not find lrelease. Skipping translations.") |
120 | } | 120 | } |
121 | 121 | ||