summaryrefslogtreecommitdiffstats
path: root/clang/lib/Edit
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-06-21 01:30:21 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-06-21 01:30:21 +0000
commit28969b41392de338668f7a68f68aa036c2dfdd3c (patch)
treef3a4ca0dc40a591e778c50ccf15092eed3dd4a14 /clang/lib/Edit
parentc7b0bdffe75c05aeb4a0689086d899c5527c3c7b (diff)
downloadbcm5719-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/Edit')
-rw-r--r--clang/lib/Edit/CMakeLists.txt8
1 files changed, 6 insertions, 2 deletions
diff --git a/clang/lib/Edit/CMakeLists.txt b/clang/lib/Edit/CMakeLists.txt
index c87478cf7d1..2bb63a71e0f 100644
--- a/clang/lib/Edit/CMakeLists.txt
+++ b/clang/lib/Edit/CMakeLists.txt
@@ -1,7 +1,11 @@
-set(LLVM_USED_LIBS clangBasic clangAST clangLex)
-
add_clang_library(clangEdit
Commit.cpp
EditedSource.cpp
RewriteObjCFoundationAPI.cpp
)
+
+target_link_libraries(clangEdit
+ clangBasic
+ clangAST
+ clangLex
+ )
OpenPOWER on IntegriCloud