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.
Details
Details
- Reviewers
apol - Group Reviewers
Discover Software Store - Commits
- R134:d8ac72b45e97: Fix CMakeLists.txt to work with older versions of CMake
Now I can build Discover again
Diff Detail
Diff Detail
- Repository
- R134 Discover Software Store
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
In effect, it's the same. But the VERSION_GREATER_EQUAL macro is only present in newer versions of CMake, which makes it not work in, for example, KDE Neon, which ships with an older version of CMake.