cmake: don't set LLVM_COMPILER_IS_GCC_COMPATIBLE when using clang-cl
authorHans Wennborg <hans@hanshq.net>
Mon, 7 Oct 2013 22:03:23 +0000 (22:03 +0000)
committerHans Wennborg <hans@hanshq.net>
Mon, 7 Oct 2013 22:03:23 +0000 (22:03 +0000)
commit29150e45fbc6cabda57b2bce1c447a84b9c779f0
tree653623643cc3a5a05f148a053817c8e5ccbffbef
parent34e1444ebde9516422f08d8ddb4358b11b7e50c1
cmake: don't set LLVM_COMPILER_IS_GCC_COMPATIBLE when using clang-cl

Tip-of-tree CMake has become clang-cl aware [1]. In this case,
CMAKE_CXX_COMPILER_ID will still be Clang, but MSVC will be true.

[1] See http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=3d8356d4

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192139 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake