diff options
author | Charles Davis <cdavis5x@gmail.com> | 2018-09-04 17:40:26 +0000 |
---|---|---|
committer | Charles Davis <cdavis5x@gmail.com> | 2018-09-04 17:40:26 +0000 |
commit | 7ca2655f32b167d480fd0fba17ce9ec07565ad5f (patch) | |
tree | 9981638d6a714ae6ce6657f5c9549fc455e4a9ca | |
parent | 5598288131bddd69f39c75ae61fba23a4b8cf80e (diff) | |
download | libunwind_llvm-7ca2655f32b167d480fd0fba17ce9ec07565ad5f.tar.gz |
[CMake] Remove variable reference that isn't used.
Summary:
This variable is never defined, so its value is always empty. Since
`libunwind` is needed to build the C++ ABI library in the first place,
it should never be linked to the C++ ABI library anyway.
Reviewers: mstorsjo, rnk
Subscribers: mgorny, christof, cfe-commits
Differential Revision: https://reviews.llvm.org/D51644
git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@341388 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | src/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8731ed7..a5e6084 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -51,7 +51,7 @@ set(LIBUNWIND_SOURCES ${LIBUNWIND_ASM_SOURCES}) # Generate library list. -set(libraries ${LIBUNWINDCXX_ABI_LIBRARIES}) +set(libraries) append_if(libraries LIBUNWIND_HAS_C_LIB c) append_if(libraries LIBUNWIND_HAS_GCC_S_LIB gcc_s) append_if(libraries LIBUNWIND_HAS_DL_LIB dl) |