D18941: Fix build with cmake 3.5

Wolfgang Bauer noreply at phabricator.kde.org
Tue Feb 12 06:59:52 GMT 2019


wbauer created this revision.
wbauer added a project: Frameworks.
Herald added subscribers: Baloo, kde-frameworks-devel.
Herald added a project: Baloo.
wbauer requested review of this revision.

REVISION SUMMARY
  VERSION_GREATER_EQUAL requires cmake 3.7 or higher.
  So use NOT VERSION_LESS instead, which is logically the same and also works with older cmake versions.

TEST PLAN
  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

REPOSITORY
  R286 KFileMetaData

REVISION DETAIL
  https://phabricator.kde.org/D18941

AFFECTED FILES
  src/extractors/CMakeLists.txt

To: wbauer
Cc: kde-frameworks-devel, #baloo, ashaposhnikov, michaelh, astippich, spoorun, ngraham, bruns, abrahams
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20190212/6cd16f01/attachment.html>


More information about the Kde-frameworks-devel mailing list