[compiler-rt] b0d286b - [CMake] Use append instead of set with the list
Petr Hosek via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 1 20:31:20 PDT 2021
Author: Petr Hosek
Date: 2021-04-01T20:30:49-07:00
New Revision: b0d286b03c6e20e57fd2ecf3ea7935669083f3e5
URL: https://github.com/llvm/llvm-project/commit/b0d286b03c6e20e57fd2ecf3ea7935669083f3e5
DIFF: https://github.com/llvm/llvm-project/commit/b0d286b03c6e20e57fd2ecf3ea7935669083f3e5.diff
LOG: [CMake] Use append instead of set with the list
This addresses an issue introduced by D99706.
Added:
Modified:
compiler-rt/test/CMakeLists.txt
Removed:
################################################################################
diff --git a/compiler-rt/test/CMakeLists.txt b/compiler-rt/test/CMakeLists.txt
index 68f5066fa8c55..1d123ed8cfb76 100644
--- a/compiler-rt/test/CMakeLists.txt
+++ b/compiler-rt/test/CMakeLists.txt
@@ -29,7 +29,7 @@ if(NOT ANDROID)
endif()
# Tests use C++ standard library headers.
if (TARGET cxx-headers OR HAVE_LIBCXX)
- set(SANITIZER_COMMON_LIT_TEST_DEPS cxx-headers)
+ list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS cxx-headers)
endif()
endif()
More information about the llvm-commits
mailing list