Make it possible for ECM to detect po files at configure time

Authored by apol on Aug 2 2018, 10:44 PM.

Description

Make it possible for ECM to detect po files at configure time

Summary:
ECMPoQmTools will need to have the translations downloaded at configure time instead of on build time, otherwise it needs an awkward second configure.
To that end we introduce a KDE_L10N_SYNC_TRANSLATIONS variable that allows it to do so.
ECMPoTools will download the translations in the build directory, because cmake shouldn't touch the sources. Have it check the build directory too when the macro is called.

Test Plan: Built analitza translations.

Reviewers: Frameworks, cgiboudeaux

Reviewed By: cgiboudeaux

Subscribers: cgiboudeaux, kde-frameworks-devel, kde-buildsystem

Tags: Frameworks, Build System

Differential Revision: https://phabricator.kde.org/D14569

Details

Committed
apolAug 6 2018, 2:22 PM
Reviewer
krop
Differential Revision
D14569: Make it possible for ECM to detect po files at configure time
Parents
R240:e5077dd490db: GIT_SILENT Upgrade ECM version to 5.49.0.
Branches
Unknown
Tags
Unknown