diff options
Diffstat (limited to 'compiler-rt')
| -rw-r--r-- | compiler-rt/test/asan/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/compiler-rt/test/asan/CMakeLists.txt b/compiler-rt/test/asan/CMakeLists.txt index 2454c415e1b..36b3bb2f668 100644 --- a/compiler-rt/test/asan/CMakeLists.txt +++ b/compiler-rt/test/asan/CMakeLists.txt @@ -96,8 +96,10 @@ if(COMPILER_RT_INCLUDE_TESTS) ${CMAKE_CURRENT_BINARY_DIR}/Unit/lit.site.cfg) endif() -set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS} asan) -if(NOT COMPILER_RT_STANDALONE_BUILD) +set(ASAN_TEST_DEPS ${SANITIZER_COMMON_LIT_TEST_DEPS}) +if(COMPILER_RT_STANDALONE_BUILD) + list(APPEND ASAN_TEST_DEPS ${LLVM_TOOLS_BINARY_DIR}/FileCheck) +else() list(APPEND ASAN_TEST_DEPS asan) endif() |

