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