This is an archive of the discontinued LLVM Phabricator instance.

Set cmake policy CMP0075 to NEW
ClosedPublic

Authored by labath on Feb 15 2019, 5:23 AM.

Details

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.

Event Timeline

labath created this revision.Feb 15 2019, 5:23 AM
This revision is now accepted and ready to land.Feb 15 2019, 11:49 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptFeb 18 2019, 2:09 AM