This is more consistent with this is done in other frameworks, and more
importantly it works in more scenarios. The old approach here was failing
when target executables were also found, in which case their CMake targets
had both LOCATION (pointing to target executables) and IMPORTED_LOCATION
(pointing to native executables) properties set.
Details
Details
- Reviewers
apol - Commits
- R238:d6ccdc0fff46: Port cross-compilation support to KF5_HOST_TOOLING
Diff Detail
Diff Detail
- Repository
- R238 KDocTools
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Right. The idea is that the old approach keeps working as before, if KF5_HOST_TOOLING is not defined.