Index: clang/unittests/Basic/CMakeLists.txt =================================================================== --- clang/unittests/Basic/CMakeLists.txt +++ clang/unittests/Basic/CMakeLists.txt @@ -18,5 +18,9 @@ clangAST clangBasic clangLex - LLVMTestingSupport ) + +target_link_libraries(BasicTests + PRIVATE + LLVMTestingSupport +)