This is an archive of the discontinued LLVM Phabricator instance.

Add call to find_package to load LLVM dependencies
ClosedPublic

Authored by hintonda on Oct 10 2015, 11:20 AM.

Details

Summary

ClangConfig requires LLVMConfig, so add find_package call in ClangConfig so find_package(clang REQUIRED CONFIG) will just work. This makes it easier for cmake based projects to use clang, e.g., tools using ClangTooling.

Diff Detail

Repository
rL LLVM

Event Timeline

hintonda updated this revision to Diff 37031.Oct 10 2015, 11:20 AM
hintonda retitled this revision from to Add call to find_package to load LLVM dependencies.
hintonda updated this object.
hintonda added a reviewer: chapuni.
hintonda added a subscriber: cfe-commits.
chapuni resigned from this revision.Feb 9 2016, 4:07 PM
chapuni edited reviewers, added: rnk; removed: chapuni.

I haven't worked in this. I guess it just works. :)

rnk accepted this revision.Feb 9 2016, 4:16 PM
rnk edited edge metadata.

lgtm

This revision is now accepted and ready to land.Feb 9 2016, 4:16 PM

Great, thanks. Btw, I don't have commit access, so could you commit for me? thanks don

Ping,..

Could someone commit this for me?

This revision was automatically updated to reflect the committed changes.