summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/Clang-C.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2012-09-19 18:04:13 (GMT)
committerBrad King <brad.king@kitware.com>2012-09-19 18:06:28 (GMT)
commit6e34aea93c71e3ac1667f93357695551e2ced09d (patch)
tree7770ccc6e7d52a62ed3adac5899449c8e1d1e04b /Modules/Compiler/Clang-C.cmake
parent8fc88b7eb0a46544c7a6815181bd5899231c2129 (diff)
downloadCMake-6e34aea93c71e3ac1667f93357695551e2ced09d.zip
CMake-6e34aea93c71e3ac1667f93357695551e2ced09d.tar.gz
CMake-6e34aea93c71e3ac1667f93357695551e2ced09d.tar.bz2
Clang: Split Compiler/Clang* modules out from GNU (#13550)
While Clang presents an almost identical interface to GNU there will be some differences. Split the compiler information modules to allow separate rules for Clang. Start by loading the GNU rules but leave a place to add Clang-specific information.
Diffstat (limited to 'Modules/Compiler/Clang-C.cmake')
-rw-r--r--Modules/Compiler/Clang-C.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/Compiler/Clang-C.cmake b/Modules/Compiler/Clang-C.cmake
index f7baf68..98fcd0b 100644
--- a/Modules/Compiler/Clang-C.cmake
+++ b/Modules/Compiler/Clang-C.cmake
@@ -1 +1,2 @@
-include(Compiler/GNU-C)
+include(Compiler/Clang)
+__compiler_clang(C)