Improve handling of host tools

Summary:
We now no longer need the corresponding native variants of the frameworks
added as explicit dependencies, the target ones take care of this. The
approach is inspired by how the Wayland recipe handles its code generator.

This also uncovered an issue with KAuth, which can't build its host tools
yet. This uses the target version as a placeholder for now, to not block
the build of everything else.

Reviewers: cordlandwehr

Reviewed By: cordlandwehr

Differential Revision: https://phabricator.kde.org/D7023
This commit is contained in:
Volker Krause
2017-07-31 20:04:03 +02:00
parent e2daf3c78b
commit 3385fb91d4
19 changed files with 47 additions and 23 deletions

View File

@@ -2,7 +2,6 @@ inherit cmake_qt5
EXTRA_OECMAKE += " \
-DOE_KF5_PATH_HOST_ROOT=${STAGING_DIR_HOST} \
-DKF5_HOST_TOOLING=${STAGING_DIR_NATIVE}/usr/lib/cmake \
-DBUILD_TESTING=OFF \
"