This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Configure policy CMP0116
ClosedPublic

Authored by kastiglione on Apr 22 2021, 10:13 AM.

Details

Summary

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 policy currently affects only one place: the tablegen() function in TableGen.cmake.

Diff Detail

Event Timeline

kastiglione created this revision.Apr 22 2021, 10:13 AM
kastiglione requested review of this revision.Apr 22 2021, 10:13 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 22 2021, 10:13 AM
This revision is now accepted and ready to land.Apr 22 2021, 6:43 PM
This revision was landed with ongoing or failed builds.Apr 23 2021, 8:57 AM
This revision was automatically updated to reflect the committed changes.