diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-06-21 01:30:21 +0000 |
commit | 28969b41392de338668f7a68f68aa036c2dfdd3c (patch) | |
tree | f3a4ca0dc40a591e778c50ccf15092eed3dd4a14 /clang/lib/Lex | |
parent | c7b0bdffe75c05aeb4a0689086d899c5527c3c7b (diff) | |
download | bcm5719-llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.tar.gz bcm5719-llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.zip |
Remove a goofy CMake hack and use the standard CMake facilities to
express library-level dependencies within Clang.
This is no more verbose really, and plays nicer with the rest of the
CMake facilities. It should also have no change in functionality.
llvm-svn: 158888
Diffstat (limited to 'clang/lib/Lex')
-rw-r--r-- | clang/lib/Lex/CMakeLists.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/clang/lib/Lex/CMakeLists.txt b/clang/lib/Lex/CMakeLists.txt index 0a2ffdbf232..7399de11cb6 100644 --- a/clang/lib/Lex/CMakeLists.txt +++ b/clang/lib/Lex/CMakeLists.txt @@ -2,8 +2,6 @@ set(LLVM_LINK_COMPONENTS support) -set(LLVM_USED_LIBS clangBasic) - add_clang_library(clangLex HeaderMap.cpp HeaderSearch.cpp @@ -28,4 +26,11 @@ add_clang_library(clangLex TokenLexer.cpp ) -add_dependencies(clangLex ClangDiagnosticLex ClangAttrSpellings) +add_dependencies(clangLex + ClangDiagnosticLex + ClangAttrSpellings + ) + +target_link_libraries(clangLex + clangBasic + ) |