This is an archive of the discontinued LLVM Phabricator instance.

[cmake] Update creation of object library dependencies for LINK_LIBS PUBLIC (v2)
ClosedPublic

Authored by stephenneuendorffer on May 13 2020, 2:13 PM.

Details

Summary

REGEX matching doesn't work here because the problematic library can
sometimes be "-lpthread" and sometimes "pthread". Let's do the
simplest thing possible and just string compare.

Diff Detail

Event Timeline

Herald added a project: Restricted Project. · View Herald TranscriptMay 13 2020, 2:13 PM
This revision was not accepted when it landed; it landed in state Needs Review.May 13 2020, 2:43 PM
This revision was automatically updated to reflect the committed changes.