Explicitly specify CMAKE_AR in WinMsvc.cmake
As of cmake 3.18, cmake changes how it searches for compilers for Windows (see https://gitlab.kitware.com/cmake/cmake/-/commit/55196a1440e26917d40e6a7a3eb8d9fb323fa657) and now finds llvm-ar instead of llvm-lib as CMAKE_AR. This explicitly specifies CMAKE_AR as llvm-lib so the correct program is found. Reviewed By: smeenai Differential Revision: https://reviews.llvm.org/D88176
Loading
Please sign in to comment