llvm: cmake: set CMP0114 to OLD to avoid warning
authorNick Desaulniers <ndesaulniers@google.com>
Fri, 3 Jun 2022 16:33:04 +0000 (09:33 -0700)
committerNick Desaulniers <ndesaulniers@google.com>
Fri, 3 Jun 2022 16:33:07 +0000 (09:33 -0700)
commit1a216dc8910fce676cf6787877a786c28cdf8c38
tree05efab8b0b1c4c07aaa08c5ef339d051a9cbe5cd
parentdd6bcdbf21716c56d3defd7f4cacddc7befd5de1
llvm: cmake: set CMP0114 to OLD to avoid warning

Building with cmake 3.23.2+ produces warnings when using
LLVM_ENABLE_RUNTIMES. Set this policy to the existing behavior for now
to silence the warnings.

Fixes: https://github.com/llvm/llvm-project/issues/50122
Fixes: https://github.com/llvm/llvm-project/issues/54944

Reviewed By: phosek, penzn

Differential Revision: https://reviews.llvm.org/D126923
llvm/CMakeLists.txt