Fix build with older cmake

Authored by wbauer on Aug 7 2019, 4:13 PM.

Description

Fix build with older cmake

Setting the cmake_policy fails if an older cmake version is used, so
only set it to 3.10 if cmake is really 3.10 or higher.

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

Details

Committed
wbauerAug 7 2019, 4:13 PM
Differential Revision
D22990: Fix build with older cmake
Parents
R336:15a861f27f6f: GIT_SILENT Upgrade KDE Applications version to 19.07.90.
Branches
Unknown
Tags
Unknown