diff options
author | Wolfgang Bauer <wbauer@tmo.at> | 2017-07-31 13:55:18 +0200 |
---|---|---|
committer | Wolfgang Bauer <wbauer@tmo.at> | 2017-07-31 13:55:18 +0200 |
commit | 899519f0be03360e2fa4f995c44cefc693805418 (patch) | |
tree | 7aac685eafeae46046654667fcf95658202c08bd /toolchain/Android.cmake | |
parent | 03fc1de44ef988112f65412728cfe81a3658a1be (diff) | |
download | extra-cmake-modules-899519f0be03360e2fa4f995c44cefc693805418.tar.gz extra-cmake-modules-899519f0be03360e2fa4f995c44cefc693805418.tar.bz2 |
Make ECMPoQmToolsTest actually fail if a translation is wrong
Currently the test still passed even if one of the check_translations()
calls would fail.
The reason is that check_translations() is a function which has its own
scope, so if it sets "failed" the upper level doesn't see it.
Use the PARENT_SCOPE option when setting the variable to properly
propagate the value to the upper level.
Differential Revision: https://phabricator.kde.org/D6701
Diffstat (limited to 'toolchain/Android.cmake')
0 files changed, 0 insertions, 0 deletions