push
github
cmake: fix AppleClang detection CMake 3.0 and above recognize that Apple Clang is a different compiler than upstream Clang. CMake 4.0 prefers to set the `CMAKE_<LANG>_COMPILER_ID` variable to AppleClang instead of Clang. See [1] for details. This patch adds the corresponding check to set `CMAKE_COMPILER_IS_CLANG` for the Apple Clang too. [1]: https://cmake.org/cmake/help/v4.0/policy/CMP0025.html NO_DOC=build NO_TEST=build NO_CHANGELOG=build (cherry picked from commit 526bc5a12)
63525 of 114902 branches covered (55.29%)
94459 of 109740 relevant lines covered (86.08%)
1898105.63 hits per line