[CMake] Fix add_lldb_test_dependency
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 9 Oct 2019 20:36:29 +0000 (20:36 +0000)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 9 Oct 2019 20:36:29 +0000 (20:36 +0000)
commitd61ef7c46d11d31f5983ce87997244168d3b64e1
tree7cbee5c02ee9678756724c0548cc68a1f0d3e292
parentbe1c2902265edc578d3f652ebcdeac8fe1d045b7
[CMake] Fix add_lldb_test_dependency

This function would ignore all but the first argument. Now it correctly
adds every dependency by iterating over its arguments.

llvm-svn: 374216
lldb/cmake/modules/AddLLDB.cmake
lldb/test/CMakeLists.txt