summaryrefslogtreecommitdiff
path: root/unittests/Driver/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'unittests/Driver/CMakeLists.txt')
-rw-r--r--unittests/Driver/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Driver/CMakeLists.txt b/unittests/Driver/CMakeLists.txt
index a4f75d26f6603..b8c800f59eaf7 100644
--- a/unittests/Driver/CMakeLists.txt
+++ b/unittests/Driver/CMakeLists.txt
@@ -1,4 +1,5 @@
set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
Support
Option
)
@@ -10,6 +11,7 @@ add_clang_unittest(ClangDriverTests
)
target_link_libraries(ClangDriverTests
+ PRIVATE
clangDriver
clangBasic
)