HomePhabricator

[cmake] Change WIN32 test to CMAKE_HOST_WIN32

Description

[cmake] Change WIN32 test to CMAKE_HOST_WIN32

The test is about what can be run on the host, not the cmake target.
When cross-compiling (compiler-rt at least) on Windows, we end up with
lit being unable to run llvm-lit because it can't find the llvm-lit
module.

Details

Committed
filcabJun 29 2018, 3:34 AM
Parents
rL335960: Fix use-after-free in CommandCompletions.cpp
Branches
Unknown
Tags
Unknown