This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Fix build of attribute plugin example on Windows
ClosedPublic

Authored by krisb on Aug 17 2020, 9:57 AM.

Details

Summary

Seems '${cmake_2_8_12_PRIVATE}' was removed long time ago, so it should
be just PRIVATE keyword here.

Diff Detail

Event Timeline

krisb created this revision.Aug 17 2020, 9:57 AM
Herald added a project: Restricted Project. · View Herald TranscriptAug 17 2020, 9:57 AM
krisb requested review of this revision.Aug 17 2020, 9:57 AM
john.brawn accepted this revision.Sep 2 2020, 9:47 AM

LGTM (looks like the other example plugins just use PRIVATE as well).

This revision is now accepted and ready to land.Sep 2 2020, 9:47 AM
This revision was landed with ongoing or failed builds.Sep 7 2020, 1:05 AM
This revision was automatically updated to reflect the committed changes.

@hans sorry for not spotting it earlier but is it possible to still backport it to LLVM 11?
It's totally OK if it's too late. I can easily keep it as a patch in MSYS2 repository.

hans added a comment.Sep 28 2020, 3:43 AM

@hans sorry for not spotting it earlier but is it possible to still backport it to LLVM 11?
It's totally OK if it's too late. I can easily keep it as a patch in MSYS2 repository.

I'd prefer not to. It can probably wait until 11.0.1.