D19581: Fix build with cmake < 3.7
    Wolfgang Bauer 
    noreply at phabricator.kde.org
       
    Thu Mar  7 08:16:34 GMT 2019
    
    
  
wbauer created this revision.
wbauer added a project: Framework: Syntax Highlighting.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
wbauer requested review of this revision.
REVISION SUMMARY
  VERSION_GREATER_EQUAL requires cmake 3.7 or higher, but the minimum version supported by KDE Frameworks is 3.5.
  So use NOT VERSION_LESS instead, which is logically equivalent 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 data/CMakeLists.txt:69 (if):
      if given arguments:
    
        "3.5.2" "VERSION_GREATER_EQUAL" "3.13.0"
    
      Unknown arguments specified
  
  Still builds fine with newer cmake versions, tested with 3.10.2 and 3.13.4.
REPOSITORY
  R216 Syntax Highlighting
REVISION DETAIL
  https://phabricator.kde.org/D19581
AFFECTED FILES
  data/CMakeLists.txt
To: wbauer
Cc: kwrite-devel, kde-frameworks-devel, cullmann, gennad, bmortimer, domson, michaelh, genethomas, ngraham, bruns, demsking, vkrause, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20190307/8efe45a8/attachment.html>
    
    
More information about the KWrite-Devel
mailing list