[lldb] Configure CMake policy CMP0116 for standalone builds
authorDave Lee <davelee.com@gmail.com>
Mon, 25 Oct 2021 22:49:46 +0000 (15:49 -0700)
committerDave Lee <davelee.com@gmail.com>
Mon, 25 Oct 2021 23:29:36 +0000 (16:29 -0700)
commit65dae8b2f20c32632e48922456a305504f4e6fbe
treec0c2c3af54bab7513b4bb7a4943deb7cbc045803
parentaa1ac2ae451e54dfa19dce2794800bbd034e2194
[lldb] Configure CMake policy CMP0116 for standalone builds

Using CMake >=3.20 results in many warnings about this new policy. This change silences the warnings by explicitly declaring use of the "OLD" behavior.

This applies D101083 to LLDBStandalone.cmake.

Differential Revision: https://reviews.llvm.org/D112497
lldb/cmake/modules/LLDBStandalone.cmake