[PATCH] D51644: [CMake] Remove variable reference that isn't used.
Charles Davis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Sep 4 10:07:13 PDT 2018
cdavis5x added inline comments.
================
Comment at: src/CMakeLists.txt:54
# Generate library list.
-set(libraries ${LIBUNWINDCXX_ABI_LIBRARIES})
+set(libraries)
append_if(libraries LIBUNWIND_HAS_C_LIB c)
----------------
mstorsjo wrote:
> Is there any point in this line at all now, or can it be removed altogether?
I think `list(APPEND)` can fail if the variable doesn't exist.
Repository:
rUNW libunwind
https://reviews.llvm.org/D51644
More information about the cfe-commits
mailing list