VERSION_GREATER_EQUAL requires cmake 3.7 or higher.
So use NOT VERSION_LESS instead, which is logically equivalent and also works with older cmake versions.
Details
Details
- Reviewers
krop bruns - Group Reviewers
Build System - Commits
- R286:1632a6972279: Fix build with cmake 3.5
Builds fine with cmake 3.5.2 now.
Before, I got this cmake error:
CMake Error at src/extractors/CMakeLists.txt:39 (if): if given arguments: "0.25" "VERSION_GREATER_EQUAL" "0.26" Unknown arguments specified
HAVE_WEBP_SUPPORT is still defined when building with exiv2 0.26 or 0.27, and it is not defined with 0.25.
Diff Detail
Diff Detail
- Repository
- R286 KFileMetaData
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.