[cmake] Fix skipping DEPS (typo) in sanitizer_test_compile()

Fix typo in variable assignment inside sanitizer_test_compile() that
resulted in TEST_DEPS parameter not being included in the clang_compile()
call. Spotted by George Karpenkov in D38444.

Differential Revision: https://reviews.llvm.org/D38838

llvm-svn: 315604
This commit is contained in:
Michal Gorny 2017-10-12 18:51:37 +00:00
parent d9cc80975e
commit 858509cfb3
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ function(sanitizer_test_compile obj_list source arch)
endif()
clang_compile(${output_obj} ${source}
CFLAGS ${TEST_CFLAGS} ${TARGET_CFLAGS}
DEPS ${TEST_COMPILE_DEPS})
DEPS ${COMPILE_DEPS})
list(APPEND ${obj_list} ${output_obj})
set("${obj_list}" "${${obj_list}}" PARENT_SCOPE)
endfunction()