[CMake] Add dependencies on clangToolingCore.

llvm-svn: 220890
GitOrigin-RevId: dc872ed90868ecf54ebd13c0bd81284f2d5240e5
diff --git a/lib/Index/CMakeLists.txt b/lib/Index/CMakeLists.txt
index 1ebb636..be87bfd 100644
--- a/lib/Index/CMakeLists.txt
+++ b/lib/Index/CMakeLists.txt
@@ -16,4 +16,5 @@
   clangLex
   clangRewrite
   clangTooling
+  clangToolingCore
   )
diff --git a/tools/clang-format/CMakeLists.txt b/tools/clang-format/CMakeLists.txt
index 0f73203..74e843e 100644
--- a/tools/clang-format/CMakeLists.txt
+++ b/tools/clang-format/CMakeLists.txt
@@ -9,6 +9,7 @@
   clangFormat
   clangLex
   clangRewrite
+  clangToolingCore
   )
 
 install(TARGETS clang-format RUNTIME DESTINATION bin)
diff --git a/unittests/Tooling/CMakeLists.txt b/unittests/Tooling/CMakeLists.txt
index 70de131..469e6a9 100644
--- a/unittests/Tooling/CMakeLists.txt
+++ b/unittests/Tooling/CMakeLists.txt
@@ -25,4 +25,5 @@
   clangLex
   clangRewrite
   clangTooling
+  clangToolingCore
   )