[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:
1 parent
60854c328d
commit
775e55462a
1 file changed
+4
@@ -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