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/CMakeLists.txt | |
parent | c7b0bdffe75c05aeb4a0689086d899c5527c3c7b (diff) | |
download | llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.zip llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.tar.gz llvm-28969b41392de338668f7a68f68aa036c2dfdd3c.tar.bz2 |
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/CMakeLists.txt')
-rw-r--r-- | clang/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/clang/CMakeLists.txt b/clang/CMakeLists.txt index ebf5e41..dae9895 100644 --- a/clang/CMakeLists.txt +++ b/clang/CMakeLists.txt @@ -192,7 +192,6 @@ macro(add_clang_library name) add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} ) endif( LLVM_COMMON_DEPENDS ) - target_link_libraries( ${name} ${LLVM_USED_LIBS} ) llvm_config( ${name} ${LLVM_LINK_COMPONENTS} ) target_link_libraries( ${name} ${LLVM_COMMON_LIBS} ) link_system_libs( ${name} ) |