summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter4
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
commitdc38d36ccb5b8274fb94701866ca5b39686ba125 (patch)
tree4d23f24aaef2fb4b486b2882a5c5340a4c3c773c /llvm/examples/Kaleidoscope/Chapter4
parent0881f4a367de8fc0ac7e1db44eca833171e655e2 (diff)
downloadbcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.tar.gz
bcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.zip
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
llvm-svn: 113632
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter4')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
index 0d1ac533f02..7aa18b88988 100644
--- a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
+++ b/llvm/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)
OpenPOWER on IntegriCloud