Fix use in cross compilation

Authored by pwojcik on May 16 2019, 11:42 AM.

Description

Fix use in cross compilation

Summary:
This changes make kmag cross-compile with libqaccessibilityclient. Key difference is to make paths in generated QAccessibilityClient-release.cmake not fixed by using KDE_INSTALL_TARGETS_DEFAULT_ARGS. Lines reordering was needed because cmake skips recognizing compiler otherwise.
Patch is shaped after libkomparediff2's cmake file that works well.

Test Plan: Patch was used to cross build in Void Linux, kmag works.

Reviewers: jriddell, kossebau

Reviewed By: kossebau

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

Details

Committed
kossebauMay 16 2019, 12:33 PM
Reviewer
kossebau
Differential Revision
D21233: Fix use in cross compilation
Parents
R578:38f5d9c3d58e: Q_ENUMS -> Q_ENUM
Branches
Unknown
Tags
Unknown