[CMake] Include dependency on cxx-headers in compiler-rt tests
The missing dependency was revealed by D97572. Differential Revision: https://reviews.llvm.org/D99706
This commit is contained in:
@@ -27,6 +27,10 @@ if(NOT ANDROID)
|
||||
list(APPEND SANITIZER_COMMON_LIT_TEST_DEPS KillTheDoctor)
|
||||
endif()
|
||||
endif()
|
||||
# Tests use C++ standard library headers.
|
||||
if (TARGET cxx-headers OR HAVE_LIBCXX)
|
||||
set(SANITIZER_COMMON_LIT_TEST_DEPS cxx-headers)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
function(compiler_rt_test_runtime runtime)
|
||||
|
||||
Reference in New Issue
Block a user