diff options
author | Shoaib Meenai <smeenai@fb.com> | 2018-11-08 00:18:12 +0000 |
---|---|---|
committer | Shoaib Meenai <smeenai@fb.com> | 2018-11-08 00:18:12 +0000 |
commit | 7681abdef238e2713c34f3d3a2a04983b2237892 (patch) | |
tree | 7ffff1146d63194135dad40234a363089d91e9ca /clang/CMakeLists.txt | |
parent | 6cc8b2fc6580e5889f0807d2a85296a676f201e1 (diff) |
[cmake] Set CMP0075 to NEW
Make the check_include_file* macros honor CMAKE_REQUIRED_LIBRARIES. This
shouldn't cause any of the configuration checks to give different
results (and I did clean configures before and after this change and
confirmed that the resulting CMake caches were identical, though of
course that's just one machine). This suppresses a warning when building
with CMake 3.12 or later.
This doesn't suppress the warning in clang, because clang does its own
cmake_minimum_required call even when being built in-tree, and that
resets all policy settings. I'll address that separately.
Differential Revision: https://reviews.llvm.org/D54236
llvm-svn: 346377
Diffstat (limited to 'clang/CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions