summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-31 17:04:03 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-31 17:04:03 (GMT)
commit1ea751c8d156543c62c9e4b338a9bcf46c43b3b5 (patch)
tree8926d38b622fbdbd33663a0aae42233a969ef5f1
parent7d98cd0442d695df809378dcd5a1eb0c3fb0928a (diff)
parent863f7eb6d7237b47a4347a2c517fd435a0edd44f (diff)
downloadCMake-1ea751c8d156543c62c9e4b338a9bcf46c43b3b5.zip
CMake-1ea751c8d156543c62c9e4b338a9bcf46c43b3b5.tar.gz
CMake-1ea751c8d156543c62c9e4b338a9bcf46c43b3b5.tar.bz2
Merge branch 'clang-cl-non-windows' into release-3.15
Merge-request: !3634
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index 6083358..02bc14b 100644
--- a/Modules/CMakeDetermineCompilerId.cmake
+++ b/Modules/CMakeDetermineCompilerId.cmake
@@ -138,7 +138,7 @@ function(CMAKE_DETERMINE_COMPILER_ID lang flagvar src)
set(_variant "")
if("x${CMAKE_${lang}_COMPILER_ID}" STREQUAL "xClang")
- if(CMAKE_HOST_WIN32 AND "x${CMAKE_${lang}_SIMULATE_ID}" STREQUAL "xMSVC")
+ if("x${CMAKE_${lang}_SIMULATE_ID}" STREQUAL "xMSVC")
if(CMAKE_GENERATOR MATCHES "Visual Studio")
set(CMAKE_${lang}_COMPILER_FRONTEND_VARIANT "MSVC")
else()