https://bugs.kde.org/show_bug.cgi?id=399439

Bernd Buschinski <b.buschin...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://commits.kde.org/kde
                   |                            |velop/6da2caac877d75d53d4e4
                   |                            |af0e060f93defe701d6
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Bernd Buschinski <b.buschin...@googlemail.com> ---
Git commit 6da2caac877d75d53d4e4af0e060f93defe701d6 by Bernd Buschinski.
Committed on 07/10/2018 at 13:46.
Pushed by buschinski into branch '5.3'.

Fix discovery of clang builtin directory with clang svn versions

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.

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

M  +5    -0    cmake/modules/FindClang.cmake

https://commits.kde.org/kdevelop/6da2caac877d75d53d4e4af0e060f93defe701d6

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to