diff options
| author | Shoaib Meenai <smeenai@fb.com> | 2017-12-14 18:41:49 +0000 |
|---|---|---|
| committer | Shoaib Meenai <smeenai@fb.com> | 2017-12-14 18:41:49 +0000 |
| commit | 7fe22d613f345fb37779bf6b4c2f4044946886f9 (patch) | |
| tree | 085074fbdb06fb526d392b7223c231258e0b62fb /llvm/lib/Analysis/DomPrinter.cpp | |
| parent | 600f1ba333a42e9f26d799db1b206c4eae4bd091 (diff) | |
| download | bcm5719-llvm-7fe22d613f345fb37779bf6b4c2f4044946886f9.tar.gz bcm5719-llvm-7fe22d613f345fb37779bf6b4c2f4044946886f9.zip | |
[cmake] Only attempt to install MSVC system libraries on Windows
Newer versions of CMake (I'm on 3.10, but I believe 3.9 behaves the same
way) attempt to query the system for information about the VS 2017
install. Unfortunately, this query fails on non-Windows systems:
cmake_host_system_information does not recognize <key> VS_15_DIR
CMake isn't going to find these system libraries on non-Windows anyway
(and we were previously silencing the resultant warnings in our
cross-compilation toolchain), so it makes sense to just omit the
attempted installation entirely on non-Windows.
Differential Revision: https://reviews.llvm.org/D41220
llvm-svn: 320724
Diffstat (limited to 'llvm/lib/Analysis/DomPrinter.cpp')
0 files changed, 0 insertions, 0 deletions

