Revert "CMake: Update to use standard CMake dependency tracking facilities instead"
This reverts commit r113631
Conflicts:
CMakeLists.txt
lib/CodeGen/CMakeLists.txt
llvm-svn: 113817
diff --git a/clang/tools/c-index-test/CMakeLists.txt b/clang/tools/c-index-test/CMakeLists.txt
index 149b70a..0cda6c4 100644
--- a/clang/tools/c-index-test/CMakeLists.txt
+++ b/clang/tools/c-index-test/CMakeLists.txt
@@ -1,11 +1,15 @@
set(LLVM_NO_RTTI 1)
-add_clang_executable(c-index-test
- c-index-test.c
+set(LLVM_USED_LIBS libclang)
+
+set( LLVM_LINK_COMPONENTS
+ bitreader
+ mc
+ core
)
-target_link_libraries(c-index-test
- libclang
+add_clang_executable(c-index-test
+ c-index-test.c
)
set_target_properties(c-index-test