<table><tr><td style="">buschinski created this revision.<br />buschinski added a reviewer: KDevelop.<br />Herald added a project: KDevelop.<br />Herald added a subscriber: kdevelop-devel.<br />buschinski requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D15895">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Use CLANG_INCLUDE_DIRS for clang include dir instead of manually building it.</p>
<p>This fixes the error:<br />
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: <a href="https://bugs.kde.org/show_bug.cgi?id=393779"" class="remarkup-link" target="_blank" rel="noreferrer">https://bugs.kde.org/show_bug.cgi?id=393779"</a> Disabling the plugin now.</p>
<p>As CMake with CLANG_INCLUDE_DIRS already tests if this folder is present, it should work across all distros.</p>
<p>BUG: 393779</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D15895">https://phabricator.kde.org/D15895</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>plugins/clang/libclang_include_path.h.cmake</div></div></div><br /><div><strong>To: </strong>buschinski, KDevelop<br /><strong>Cc: </strong>kdevelop-devel, glebaccon, antismap, iodelay, vbspam, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>