Everywhere that your CMakeLists.txt currently checks `STREQUAL "Clang"`, please change to `MATCHES "Clang"`. If [CMP0025](https://cmake.org/cmake/help/latest/policy/CMP0025.html) is set to `NEW`, then Apple versions of Clang are identified by the compiler ID `AppleClang`, not `Clang`.
Everywhere that your CMakeLists.txt currently checks
STREQUAL "Clang", please change toMATCHES "Clang".If CMP0025 is set to
NEW, then Apple versions of Clang are identified by the compiler IDAppleClang, notClang.