diff --git a/clang/unittests/Interpreter/CMakeLists.txt b/clang/unittests/Interpreter/CMakeLists.txt index ec6f81ea19b960..1ed1216c772e8f 100644 --- a/clang/unittests/Interpreter/CMakeLists.txt +++ b/clang/unittests/Interpreter/CMakeLists.txt @@ -16,13 +16,15 @@ add_clang_unittest(ClangReplInterpreterTests EXPORT_SYMBOLS ) -target_link_libraries(ClangReplInterpreterTests PUBLIC + +target_link_libraries(ClangReplInterpreterTests PUBLIC LLVMTestingSupport) + +clang_target_link_libraries(ClangReplInterpreterTests PRIVATE clangAST clangBasic clangInterpreter clangFrontend clangSema - LLVMTestingSupport ) # Exceptions on Windows are not yet supported.