aboutsummaryrefslogtreecommitdiff
path: root/tools/c-index-test
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:13:16 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:13:16 +0000
commit5a7f34958ca6f2fa8a52e9921cf521cbb92ae070 (patch)
tree941eb8d3338ad2ca2c87281f023ed882a385dec2 /tools/c-index-test
parentce5eff5c813daead3f51dcfb8261a7b5643ede5c (diff)
CMake: Update to use standard CMake dependency tracking facilities instead
of whatever we were using before... git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@113631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/c-index-test')
-rw-r--r--tools/c-index-test/CMakeLists.txt12
1 files changed, 4 insertions, 8 deletions
diff --git a/tools/c-index-test/CMakeLists.txt b/tools/c-index-test/CMakeLists.txt
index 0cda6c4a31..149b70ae43 100644
--- a/tools/c-index-test/CMakeLists.txt
+++ b/tools/c-index-test/CMakeLists.txt
@@ -1,17 +1,13 @@
set(LLVM_NO_RTTI 1)
-set(LLVM_USED_LIBS libclang)
-
-set( LLVM_LINK_COMPONENTS
- bitreader
- mc
- core
- )
-
add_clang_executable(c-index-test
c-index-test.c
)
+target_link_libraries(c-index-test
+ libclang
+ )
+
set_target_properties(c-index-test
PROPERTIES
LINKER_LANGUAGE CXX)