This is an archive of the discontinued LLVM Phabricator instance.

Tweak cmake config-ix to work when LLVM is embedded in another cmake source tree.
ClosedPublic

Authored by v.g.vassilev on May 11 2016, 2:08 AM.

Details

Reviewers
beanz
Summary

We build LLVM as part of our project. It resides in a subfolder and thus using CMAKE_SOURCE_DIR doesn't work for us. It points to the top level cmake folder.

Patch by Bertrand Bellenot.

I am adding Chris Bieneman as a reviewer since I saw him making cmake related commits. Please let me know if I need to add somebody else.

Diff Detail

Repository
rL LLVM

Event Timeline

v.g.vassilev retitled this revision from to Tweak cmake config-ix to work when LLVM is embedded in another cmake source tree..
v.g.vassilev updated this object.
v.g.vassilev added a reviewer: beanz.
v.g.vassilev set the repository for this revision to rL LLVM.
v.g.vassilev added a subscriber: llvm-commits.
beanz accepted this revision.May 12 2016, 4:03 PM
beanz edited edge metadata.

LGTM.

This revision is now accepted and ready to land.May 12 2016, 4:03 PM
v.g.vassilev closed this revision.Jun 11 2016, 10:27 AM

Landed in r272481.