CMake: Don't fail the top-level build when no Linguist is available
If for whatever reason Linguist, lupdate or lconvert are not
available, don't fail the top-level configuration, but rather show a
message and skip qttranslations target creation.
Such a case can happen when Qt is configured with
FEATURE_linguist=OFF.
Task-number: QTBUG-88460
Change-Id: Iac518a5df486092cb8104cf0e735b7f44b38893d
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Simon Hausmann <hausmann@gmail.com>
| commit | 12a3509ee03fecb32f7e64db669168524ceaf034 |
| parent | 966126e771ed44630a9a284de3dc67b3100c2510 |
| author | Alexandru Croitor <alexandru.croitor@qt.io> |
| committer | Alexandru Croitor <alexandru.croitor@qt.io> |
| commit time | Sat, 14 Nov 2020 14:09:22 +0100 |