summaryrefslogtreecommitdiffstats
path: root/clang/lib/Lex/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'clang/lib/Lex/CMakeLists.txt')
-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