mirror of
https://github.com/reactos/CMake.git
synced 2024-11-24 20:19:53 +00:00
ab65862417
Apple distributes their own Clang build with their own version numbers that differ from upstream Clang. Use the __apple_build_version__ symbol to identify the Apple Clang compiler and report the Apple Build Version as the fourth version component in CMAKE_<LANG>_COMPILER_VERSION. Add Compiler/AppleClang-<lang> and Platform/Darwin-AppleClang-<lang> modules that simply include the upstream equivalents. Fix comparisons of CMAKE_<LANG>_COMPILER_ID to Clang in CMake's own source and tests to account for AppleClang.
2 lines
28 B
CMake
2 lines
28 B
CMake
include(Compiler/Clang-CXX)
|