This is an archive of the discontinued LLVM Phabricator instance.

[libcxxabi] [cmake] Handle missing LIBUNWIND_* directories gracefully
ClosedPublic

Authored by mgorny on Oct 6 2016, 5:15 AM.

Details

Summary

Add LIBUNWIND_* directories to include path only if they were actually
found, in order to fix the CMake error. Both of the directories are
usually unnecessary since libcxxabi uses only the common part of
unwind.h that is supplied both by GCC and Clang.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny updated this revision to Diff 73770.Oct 6 2016, 5:15 AM
mgorny retitled this revision from to [libcxxabi] [cmake] Handle missing LIBUNWIND_* directories gracefully.
mgorny updated this object.
mgorny added reviewers: EricWF, asl.
mgorny added a subscriber: cfe-commits.

Second ping.

jroelofs accepted this revision.Jan 14 2017, 7:15 AM
jroelofs added a reviewer: jroelofs.
jroelofs added a subscriber: jroelofs.

LGTM

This revision is now accepted and ready to land.Jan 14 2017, 7:15 AM
This revision was automatically updated to reflect the committed changes.