forked from OSchip/llvm-project
Fix compiler-rt build on Windows after D89640
It moved the cmake code from the else-branch to the if-branch but forgot to flip the condition.
This commit is contained in:
parent
6bb60d3e26
commit
a7acee89d6
|
@ -169,7 +169,7 @@ macro(test_targets)
|
|||
if(COMPILER_RT_DEFAULT_TARGET_ONLY)
|
||||
add_default_target_arch(${COMPILER_RT_DEFAULT_TARGET_ARCH})
|
||||
elseif("${COMPILER_RT_DEFAULT_TARGET_ARCH}" MATCHES "i[2-6]86|x86|amd64")
|
||||
if(NOT MSVC)
|
||||
if(MSVC)
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 4)
|
||||
test_target_arch(i386 "" "")
|
||||
else()
|
||||
|
|
Loading…
Reference in New Issue