Fix windows build after r293821

We started passing the list of libraries to link to the
add_lldb_unittest macro, but that macro wasn't actually doing anything
with them. Fix that.

llvm-svn: 293913
This commit is contained in:
Pavel Labath 2017-02-02 18:14:04 +00:00
parent dc5a7444f0
commit 86b03cf086
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ function(add_lldb_unittest test_name)
COMMAND "${CMAKE_COMMAND}" -E make_directory ${CMAKE_CURRENT_BINARY_DIR}/Inputs)
lldb_link_common_libs(${test_name} EXE)
target_link_libraries(${test_name} ${CLANG_USED_LIBS} ${LLDB_SYSTEM_LIBS})
target_link_libraries(${test_name} ${ARG_LINK_LIBS} ${CLANG_USED_LIBS} ${LLDB_SYSTEM_LIBS})
endfunction()
function(add_unittest_inputs test_name inputs)