[CMake] Add llvm-lib to Clang bootstrap dependency for LTO builds on Windows
authorIgor Kudrin <ikudrin@accesssoftek.com>
Fri, 21 Apr 2023 00:02:17 +0000 (17:02 -0700)
committerIgor Kudrin <ikudrin@accesssoftek.com>
Fri, 21 Apr 2023 00:02:17 +0000 (17:02 -0700)
commit43c307fd690ffa97877f371ff18530fcd0bddd82
treec5cb5d354f4227e46477100eea1c7820094c30b8
parent6bad76c7ae93a94fbac39db08fee23ce46d97fdb
[CMake] Add llvm-lib to Clang bootstrap dependency for LTO builds on Windows

Without this dependency, it is possible that llvm-lib.exe will not be
built, in which case CMake will try to use lib.exe to build libraries,
but this tool cannot handle bitcode files.

Differential Revision: https://reviews.llvm.org/D148751
clang/CMakeLists.txt