summaryrefslogtreecommitdiffstats
path: root/Modules/Platform
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2014-11-20 13:53:47 (GMT)
committerBrad King <brad.king@kitware.com>2014-11-20 13:53:47 (GMT)
commitb1e7fe9e8d35f86ea0af4292bb9a46578fcdc689 (patch)
treec437300065207b7f753a0d05f7c9a3bc1522a611 /Modules/Platform
parent5ee198d76e1b33a596d6bca18bbed5ec363ca322 (diff)
parent543c4304bb48149ed2f642f88070829a30266ec0 (diff)
downloadCMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.zip
CMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.tar.gz
CMake-b1e7fe9e8d35f86ea0af4292bb9a46578fcdc689.tar.bz2
Merge branch 'backport-fix-CMP0054-MSVC' into release
Diffstat (limited to 'Modules/Platform')
-rw-r--r--Modules/Platform/Windows-Clang.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/Platform/Windows-Clang.cmake b/Modules/Platform/Windows-Clang.cmake
index 4c936fe..da19a3d 100644
--- a/Modules/Platform/Windows-Clang.cmake
+++ b/Modules/Platform/Windows-Clang.cmake
@@ -18,8 +18,8 @@ if(__WINDOWS_CLANG)
endif()
set(__WINDOWS_CLANG 1)
-if(CMAKE_C_SIMULATE_ID STREQUAL "MSVC"
- OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
+if("x${CMAKE_C_SIMULATE_ID}" STREQUAL "xMSVC"
+ OR "x${CMAKE_CXX_SIMULATE_ID}" STREQUAL "xMSVC")
include(Platform/Windows-MSVC)
macro(__windows_compiler_clang lang)
__windows_compiler_msvc(${lang})