This is an archive of the discontinued LLVM Phabricator instance.

Try to simplify cmake files using variables set by find_package
AcceptedPublic

Authored by thakis on Jul 13 2022, 8:37 AM.

Details

Reviewers
hans
Summary

No intended behavior change.

See https://gitlab.kitware.com/cmake/cmake/-/merge_requests/1043
for some background. (LLVM requires CMake 3.13, so we are guaranteed
to have that change.)

Diff Detail

Event Timeline

thakis created this revision.Jul 13 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 8:37 AM
thakis requested review of this revision.Jul 13 2022, 8:37 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 8:37 AM
hans accepted this revision.Jul 14 2022, 2:48 AM

lgtm

But something seems to break every time someone touches this stuff, so we should be prepared for that :)

This revision is now accepted and ready to land.Jul 14 2022, 2:48 AM