diff --git a/clang-tools-extra/clangd/global-symbol-builder/CMakeLists.txt b/clang-tools-extra/clangd/global-symbol-builder/CMakeLists.txt index 0929707b8197..c81da16ed5e1 100644 --- a/clang-tools-extra/clangd/global-symbol-builder/CMakeLists.txt +++ b/clang-tools-extra/clangd/global-symbol-builder/CMakeLists.txt @@ -15,5 +15,6 @@ target_link_libraries(global-symbol-builder clangDaemon clangBasic clangFrontend + clangLex clangTooling ) diff --git a/clang-tools-extra/unittests/clangd/CMakeLists.txt b/clang-tools-extra/unittests/clangd/CMakeLists.txt index b43d39d08837..6017868f2b3d 100644 --- a/clang-tools-extra/unittests/clangd/CMakeLists.txt +++ b/clang-tools-extra/unittests/clangd/CMakeLists.txt @@ -38,6 +38,7 @@ target_link_libraries(ClangdTests clangFormat clangFrontend clangIndex + clangLex clangSema clangTooling clangToolingCore