This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Fix libc++abi standalone cmake build.
ClosedPublic

Authored by logan on Aug 31 2016, 8:38 AM.

Details

Summary

The cmake files install directory has been changed to
${prefix}/lib/cmake/llvm since r259821. Searching cmake modules in
${prefix}/share/llvm/cmake will result in fatal errors.

This commit fixes the out-of-tree build by changing the CMake module
search path to: "$(llvm-config --obj-root)/lib/cmake/llvm"

Diff Detail

Event Timeline

logan updated this revision to Diff 69859.Aug 31 2016, 8:38 AM
logan retitled this revision from to [CMake] Fix libc++abi standalone cmake build..
logan updated this object.
logan added reviewers: mclow.lists, rengolin, EricWF.
logan added a subscriber: cfe-commits.
EricWF accepted this revision.Sep 26 2016, 7:08 PM
EricWF edited edge metadata.
This revision is now accepted and ready to land.Sep 26 2016, 7:08 PM
logan closed this revision.Oct 3 2016, 4:17 AM

Thanks for reviewing. Committed as rL283100.