find all dependencies
Summary:
otherwise cmake falls over when it tries to create the imported targets,
since it can't find its dependencies
Reviewers: apol
Reviewed By: apol
Subscribers: kdevelop-devel
Differential Revision: https://phabricator.kde.org/D2547