[CMake] Use append instead of set with the list

This addresses an issue introduced by D99706.
This commit is contained in:
Petr Hosek 2021-04-01 20:30:49 -07:00
parent 83dc218c77
commit b0d286b03c
1 changed files with 1 additions and 1 deletions

View File

@ -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()