summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex
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
commit0881f4a367de8fc0ac7e1db44eca833171e655e2 (patch)
treeb19504c894561b3ceed476e7081f1d8bdf78e1d1 /clang/lib/Lex
parent8c40ba392cb4f2f8dc7213ae23b5db41496bbba7 (diff)
downloadbcm5719-llvm-0881f4a367de8fc0ac7e1db44eca833171e655e2.tar.gz
bcm5719-llvm-0881f4a367de8fc0ac7e1db44eca833171e655e2.zip
CMake: Update to use standard CMake dependency tracking facilities instead
of whatever we were using before... llvm-svn: 113631
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r--clang/lib/Lex/CMakeLists.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/clang/lib/Lex/CMakeLists.txt b/clang/lib/Lex/CMakeLists.txt
index 0476384eff3..3c236441492 100644
--- a/clang/lib/Lex/CMakeLists.txt
+++ b/clang/lib/Lex/CMakeLists.txt
@@ -2,8 +2,6 @@ set(LLVM_NO_RTTI 1)
# TODO: Add -maltivec when ARCH is PowerPC.
-set(LLVM_USED_LIBS clangBasic)
-
add_clang_library(clangLex
HeaderMap.cpp
HeaderSearch.cpp
@@ -26,4 +24,10 @@ add_clang_library(clangLex
TokenLexer.cpp
)
-add_dependencies(clangLex ClangDiagnosticLex)
+target_link_libraries(clangLex
+ clangBasic
+ )
+
+add_dependencies(clangLex
+ ClangDiagnosticLex
+ )
OpenPOWER on IntegriCloud