forked from OSchip/llvm-project
[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:
parent
60854c328d
commit
775e55462a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue