<table><tr><td style="">bruns created this revision.<br />bruns added a reviewer: Frameworks.<br />Herald added projects: Frameworks, Build System.<br />Herald added subscribers: kde-buildsystem, kde-frameworks-devel.<br />bruns 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/D14909">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The canonical name is libclang.so, which seems to be available on all<br />
distributions (RH, SUSE, Ubuntu, Debian, ...) while the symlinks with<br />
version suffix (e.g. libclang-6.0) are specific to Debian and derivatives.<br />
Keep the current checks, but fallback to the unversioned library name.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>on openSUSE TW/Leap:<br />
run cmake<br />
-> libclang is found</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R240 Extra CMake Modules</div></div></div><br /><div><strong>BRANCH</strong><div><div>find_libclang</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14909">https://phabricator.kde.org/D14909</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>find-modules/FindPythonModuleGeneration.cmake</div></div></div><br /><div><strong>To: </strong>bruns, Frameworks<br /><strong>Cc: </strong>kde-frameworks-devel, kde-buildsystem, michaelh, ngraham, bruns<br /></div>