<table><tr><td style="">heikobecker created this revision.<br />Restricted Application added projects: Frameworks, Build System.
</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/D5289" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>On non Debian-based systems libclang is mostly installed as<br />
libclang.so.<version>, evading detection by<br />
clang-${_LIBCLANG_FIND_VERSION}.0. Instead of specyfing and maintaing<br />
a list of library names I imported FindClang from KDevelop, which<br />
finds the correct library here and, one would assume, also works on<br />
Debian and distros based on it.</p>
<p>I didn't use ClangConfig.cmake from upstream because it doesn't allow<br />
discovery of a certain version.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Successfully built kconfig with Python bindings</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5289" rel="noreferrer">https://phabricator.kde.org/D5289</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>find-modules/FindClang.cmake<br />
find-modules/FindLLVM.cmake<br />
find-modules/FindPythonModuleGeneration.cmake</div></div></div><br /><div><strong>To: </strong>heikobecker, Frameworks, Build System, skelly, kfunk<br /></div>