Bindings: Check for libclang without version suffix also

Authored by bruns on Aug 15 2018, 1:29 AM.

Description

Bindings: Check for libclang without version suffix also

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

Reviewers: Frameworks, dfaure

Reviewed By: dfaure

Subscribers: kde-frameworks-devel, kde-buildsystem

Tags: Frameworks, Build System

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

Details

Committed
brunsAug 17 2018, 10:23 PM
Reviewer
dfaure
Differential Revision
D14909: Bindings: Check for libclang without version suffix also
Parents
R240:ecbb28fa321f: GIT_SILENT Upgrade ECM version to 5.50.0.
Branches
Unknown
Tags
Unknown