Set cmake policy CMP0075 to NEW
authorPavel Labath <pavel@labath.sk>
Mon, 18 Feb 2019 10:09:29 +0000 (10:09 +0000)
committerPavel Labath <pavel@labath.sk>
Mon, 18 Feb 2019 10:09:29 +0000 (10:09 +0000)
commit105f949149752c60d60ea8bc82018a63ca627269
treecfbe3cdf29246ac03e8680212fc90670e50a7929
parentbd604e011f045f5d18ef442bde383e5a848259cb
Set cmake policy CMP0075 to NEW

Summary:
The policy is about cmake_include_files ignoring
CMAKE_REQUIRED_LIBRARIES in the OLD behavior. Llvm already sets this
policy to NEW, but that is overridden by our cmake_minimum_required
command.

This makes our cmake policy setup consistent with the llvm build files
and avoids a warning when using newer versions of cmake.

Reviewers: sgraenitz, xiaobai

Subscribers: mgorny, lldb-commits

Differential Revision: https://reviews.llvm.org/D58279

llvm-svn: 354251
lldb/CMakeLists.txt