Make windows resource generation more robust
authorAnush Elangovan <anush@nod-labs.com>
Tue, 11 Oct 2022 13:30:15 +0000 (06:30 -0700)
committerStella Laurenzo <laurenzo@google.com>
Tue, 11 Oct 2022 13:31:02 +0000 (06:31 -0700)
commit4d25ba0165aa4d1f4a8d479e3c348155e64ce4f7
treebe32362d70924da91359d0fe354c405890e171b2
parent81832afc04e130a386a89f57d3f4f2d7f19006f7
Make windows resource generation more robust

This is another attempt at https://reviews.llvm.org/D110489.

When build IREE we run into cases where we don't have / need
LLVM_VERSION_* etc set. Compilation fails if it isn't an integer.

Reviewed By: stellaraccident

Differential Revision: https://reviews.llvm.org/D135650
llvm/cmake/modules/AddLLVM.cmake