• Bernd Buschinski's avatar
    Fix discovery of clang builtin directory with clang svn versions · 6da2caac
    Bernd Buschinski authored
    Summary:
    The CLANG_VERSION for svn clang versions have a svn suffix "8.0.0svn" and all the libraries have a svn suffix.
    But not the in builtin include dir. It still points to
    "/usr/lib/clang/8.0.0/include/cpuid.h"
    without the suffix.
    
    Extend the PATH_SUFFIXES to also looks a version without svn suffix.
    
    BUG: 399439
    
    Test Plan:
    - install clang-svn
    - execute cmake .. (for kdevelop)
    -> it will fail
    
    Reviewers: #kdevelop, kfunk
    
    Reviewed By: #kdevelop, kfunk
    
    Subscribers: kdevelop-devel
    
    Tags: #kdevelop
    
    Differential Revision: https://phabricator.kde.org/D15998
    6da2caac
Name
Last commit
Last update
..
FindClang.cmake Loading commit data...
FindClazyStandalone.cmake Loading commit data...
FindCppcheck.cmake Loading commit data...
FindLLVM.cmake Loading commit data...
FindSubversionLibrary.cmake Loading commit data...
Findheaptrack.cmake Loading commit data...
Findheaptrack_gui.cmake Loading commit data...
KDevelopMacrosInternal.cmake Loading commit data...