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

--- Comment #43 from Bernd Buschinski <b.buschin...@googlemail.com> ---
Git commit 716372ae2e8dff9c51e94d33443536786e4bd85b by Bernd Buschinski.
Committed on 04/10/2018 at 18:36.
Pushed by buschinski into branch '5.3'.

Use CLANG_INCLUDE_DIRS for clang include dir

Summary:
Use CLANG_INCLUDE_DIRS for clang include dir instead of manually building it.

This fixes the error:
kdevplatform.shell: Could not load plugin "kdevclangsupport" , it reported the
error: "The clang builtin include path
\"/usr/lib64/llvm/7/lib64/clang/7.0.0/include\" is invalid (missing cpuid.h
header).\nTry setting the KDEV_CLANG_BUILTIN_DIR environment variable manually
to fix this.\nSee also: https://bugs.kde.org/show_bug.cgi?id=393779"; Disabling
the plugin now.

As CMake with CLANG_INCLUDE_DIRS already tests if this folder is present, it
should work across all distros.

Reviewers: #kdevelop, kfunk

Reviewed By: #kdevelop, kfunk

Subscribers: mwolff, aaronpuchert, brauch, kossebau, kfunk, arrowd,
kdevelop-devel

Tags: #kdevelop

Differential Revision: https://phabricator.kde.org/D15895

M  +20   -3    cmake/modules/FindClang.cmake
M  +1    -1    plugins/clang/libclang_include_path.h.cmake

https://commits.kde.org/kdevelop/716372ae2e8dff9c51e94d33443536786e4bd85b

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

Reply via email to