Use `MATCHES "Clang"` to detect clang

Authored by rjvbb on Nov 12 2018, 10:21 AM.

Description

Use MATCHES "Clang" to detect clang

This is for compatibility with Apple's Xcode
compilers which identify as AppleClang.

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

Details

Committed
rjvbbNov 12 2018, 10:21 AM
Differential Revision
D16816: ECM: standardise clang detection
Parents
R240:a1a7bfa7c305: GIT_SILENT Upgrade ECM version to 5.53.0.
Branches
Unknown
Tags
Unknown