We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec9aa4a commit aa99006Copy full SHA for aa99006
llvm/cmake/modules/GetHostTriple.cmake
@@ -2,7 +2,7 @@
2
# Invokes config.guess
3
4
function( get_host_triple var )
5
- if( MSVC OR (CMAKE_SYSTEM_NAME STREQUAL "Windows" AND CMAKE_C_COMPILER_ID MATCHES "Clang" AND NOT MINGW AND NOT MSYS))
+ if( MSVC OR CMAKE_CXX_SIMULATE_ID STREQUAL "MSVC")
6
if( CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM64.*" )
7
set( value "aarch64-pc-windows-msvc" )
8
elseif( CMAKE_C_COMPILER_ARCHITECTURE_ID MATCHES "ARM.*" )
0 commit comments