commit | 7f40466d3bb771bf90a38058230e233c799678b3 | [log] [tgz] |
---|---|---|
author | Shoaib Meenai <smeenai@fb.com> | Wed Oct 25 17:11:28 2017 +0000 |
committer | Shoaib Meenai <smeenai@fb.com> | Wed Oct 25 17:11:28 2017 +0000 |
tree | 8bbbb3c42fb77fa50ef92b54e3ec53b60a8ab4a7 | |
parent | d5b3d597e5ff86c21798ccd108325b5d61fddcc7 [diff] |
[cmake] Restrict resource file usage to Windows build hosts Resource file compilation requires a working resource compiler. Unfortunately, llvm-rc isn't quite there yet [1], and cmake's rc invocation only works on Windows [2]. Until both those issues are addressed, disable resource file usage on non-Windows build hosts, to unblock Windows cross-compilation. This is also consistent with the existing comment, which says "If *on Windows* and building with MSVC". [1] http://lists.llvm.org/pipermail/llvm-dev/2017-October/118433.html [2] https://public.kitware.com/pipermail/cmake/2017-October/066441.html Differential Revision: https://reviews.llvm.org/D39265 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316594 91177308-0d34-0410-b5e6-96231b3b80d8