commit | 45e01f552a89454c6f7946463dd5054bd24c63b6 | [log] [tgz] |
---|---|---|
author | Michał Górny <mgorny@moritz.systems> | Fri Feb 11 12:48:31 2022 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Feb 16 10:35:53 2022 -0800 |
tree | fe2d499a0ffb345aa740b628c3ebca2442d016d4 | |
parent | d79e3b69e4bbf237ac4660b6af8a4591f15377f8 [diff] |
[libcxxabi] [test] Depend on unwind only if available When building libcxxabi via LLVM_ENABLE_RUNTIMES=libcxxabi the CMake invocation fails because of missing "unwind" target. However, if the extraneous dependency is removed, the library builds just fine against installed libunwind and tests work fine. To fix this, add the dependency only if the target actually exists. Differential Revision: https://reviews.llvm.org/D119538 GitOrigin-RevId: 5244ef0faf5595495c1adedfa16c346d35caebdf