summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeDetermineCompilerId.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-02 14:37:46 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-02 14:37:57 (GMT)
commitfa722a8792a770e682a329b6169843124b6af3f4 (patch)
tree9d22e5f170b14eac2f2b90c798849758cf84e177 /Modules/CMakeDetermineCompilerId.cmake
parenta1e32626f735388f0ae17cf37265b2a9ac4abcdb (diff)
parent863f7eb6d7237b47a4347a2c517fd435a0edd44f (diff)
downloadCMake-fa722a8792a770e682a329b6169843124b6af3f4.zip
CMake-fa722a8792a770e682a329b6169843124b6af3f4.tar.gz
CMake-fa722a8792a770e682a329b6169843124b6af3f4.tar.bz2
Merge topic 'clang-cl-non-windows'
863f7eb6d7 clang: Restore support for clang-cl on non-Windows hosts Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3634
Diffstat (limited to 'Modules/CMakeDetermineCompilerId.cmake')
-rw-r--r--Modules/CMakeDetermineCompilerId.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeDetermineCompilerId.cmake b/Modules/CMakeDetermineCompilerId.cmake
index 1914f52..0fcbbb7 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()