summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2014-11-12 22:20:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2014-11-12 22:20:36 (GMT)
commitded30405b23ef08d4ba6564cde3732eef8ca4518 (patch)
tree21914f87e9a2f278fb15479dd7573648506561fe
parent5d1fe90ed12f16f1af033b01318062a836d1f4e2 (diff)
downloadCMake-ded30405b23ef08d4ba6564cde3732eef8ca4518.zip
CMake-ded30405b23ef08d4ba6564cde3732eef8ca4518.tar.gz
CMake-ded30405b23ef08d4ba6564cde3732eef8ca4518.tar.bz2
Features: Don't record for AppleClang
Features are currently recorded accidentally for all versions of AppleClang > 3.4 (I have no idea how that relates to upstream Clang). Presumably that version has the features which are accidentally recorded, but in the future features will be recorded initially for only AppleClang >= 5.1, which would appear as a feature regression. Commit v3.1.0-rc1~635^2~11 (Don't load Clang-CXX from AppleClang-CXX., 2013-11-11) ajusted the logic for the CXX language. Make a similar change for the C language.
-rw-r--r--Modules/Compiler/AppleClang-C.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/AppleClang-C.cmake b/Modules/Compiler/AppleClang-C.cmake
index 44070b8..98fcd0b 100644
--- a/Modules/Compiler/AppleClang-C.cmake
+++ b/Modules/Compiler/AppleClang-C.cmake
@@ -1 +1,2 @@
-include(Compiler/Clang-C)
+include(Compiler/Clang)
+__compiler_clang(C)