diff options
author | Petr Hosek <phosek@chromium.org> | 2016-08-08 22:09:54 +0000 |
---|---|---|
committer | Petr Hosek <phosek@chromium.org> | 2016-08-08 22:09:54 +0000 |
commit | daee3be36437294df74c4272e257df9f617be170 (patch) | |
tree | b655230b3e180c8c996c3e869846b79a5c924c4b /libcxxabi | |
parent | a2cca7e2b4f765abf6b5ca81a1a97633d0aa9618 (diff) | |
download | bcm5719-llvm-daee3be36437294df74c4272e257df9f617be170.tar.gz bcm5719-llvm-daee3be36437294df74c4272e257df9f617be170.zip |
Do not depend on unwind when building standalone
When libcxxabi is being built standalone, unwind dependency is not
available, so do not use it even when LLVM unwinder is being
requested.
Differential Revision: https://reviews.llvm.org/D23228
llvm-svn: 278058
Diffstat (limited to 'libcxxabi')
-rw-r--r-- | libcxxabi/test/CMakeLists.txt | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/libcxxabi/test/CMakeLists.txt b/libcxxabi/test/CMakeLists.txt index 31b5d1dc38b..3a489bf3026 100644 --- a/libcxxabi/test/CMakeLists.txt +++ b/libcxxabi/test/CMakeLists.txt @@ -36,10 +36,9 @@ endif() if (NOT LIBCXXABI_BUILT_STANDALONE) list(APPEND LIBCXXABI_TEST_DEPS cxx) -endif() - -if (LIBCXXABI_USE_LLVM_UNWINDER) - list(APPEND LIBCXXABI_TEST_DEPS unwind) + if (LIBCXXABI_USE_LLVM_UNWINDER) + list(APPEND LIBCXXABI_TEST_DEPS unwind) + endif() endif() add_lit_testsuite(check-libcxxabi "Running libcxxabi tests" |