projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
[oota-llvm.git]
/
tools
/
llc
/
CMakeLists.txt
diff --git
a/tools/llc/CMakeLists.txt
b/tools/llc/CMakeLists.txt
index 683f29862d5c21ca639ef4e8a46242601372c0ba..798578e7bb77fd9a79afdf4c6bb482d0ad1a9ceb 100644
(file)
--- a/
tools/llc/CMakeLists.txt
+++ b/
tools/llc/CMakeLists.txt
@@
-1,5
+1,6
@@
-set(LLVM_LINK_COMPONENTS ${LLVM_TARGETS_TO_BUILD} bitreader asmparser)
-
add_llvm_tool(llc
llc.cpp
)
+
+add_llvm_link_components(llc all)
+target_link_libraries(llc LLVMBitReader LLVMAsmParser)