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]
/
examples
/
Kaleidoscope
/
Chapter4
/
CMakeLists.txt
diff --git
a/examples/Kaleidoscope/Chapter4/CMakeLists.txt
b/examples/Kaleidoscope/Chapter4/CMakeLists.txt
index 0d1ac533f02d49a19758fadc0687da4630d8cabf..7aa18b8898871728e3280b3391061ad65193c600 100644
(file)
--- a/
examples/Kaleidoscope/Chapter4/CMakeLists.txt
+++ b/
examples/Kaleidoscope/Chapter4/CMakeLists.txt
@@
-1,5
+1,6
@@
-set(LLVM_LINK_COMPONENTS core jit interpreter native)
-
add_llvm_example(Kaleidoscope-Ch4
toy.cpp
)
+
+add_llvm_link_components(Kaleidoscope-Ch4 jit interpreter native)
+target_link_libraries(Kaleidoscope-Ch4 LLVMCore)