Fix CMakeLists.txt to work with older versions of CMake

Authored by ngraham on Jul 14 2018, 3:07 PM.

Description

Fix CMakeLists.txt to work with older versions of CMake

Summary: The VERSION_GREATER_EQUAL macro was only introduced with version 3.7, and many distros (including KDE Neon) ship an older version of CMake. This patch restores compatibility with those older versions.

Test Plan: Now I can build Discover again

Reviewers: apol, Discover Software Store

Reviewed By: apol, Discover Software Store

Subscribers: plasma-devel

Tags: Plasma

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

Details

Committed
ngrahamJul 16 2018, 2:51 PM
Reviewer
Discover Software Store
Differential Revision
D14112: Fix CMakeLists.txt to work with older versions of CMake
Parents
R134:37c3f8683f65: Fix warning
Branches
Unknown
Tags
Unknown