summaryrefslogtreecommitdiffstats
path: root/llvm/examples/Kaleidoscope/Chapter4
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:59:48 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-13 23:59:48 +0000
commit93c9b2ea936e92f0c53b18e60fe654cc8d91c4cf (patch)
tree2fb5e0a55579f73d2fc3401329c0ee4a01c34610 /llvm/examples/Kaleidoscope/Chapter4
parentc597fd3b4a1b85adee86baddaeb54afcdee3f894 (diff)
downloadbcm5719-llvm-93c9b2ea936e92f0c53b18e60fe654cc8d91c4cf.tar.gz
bcm5719-llvm-93c9b2ea936e92f0c53b18e60fe654cc8d91c4cf.zip
Revert "CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally."
This reverts commit r113632 Conflicts: cmake/modules/AddLLVM.cmake llvm-svn: 113819
Diffstat (limited to 'llvm/examples/Kaleidoscope/Chapter4')
-rw-r--r--llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt b/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
index 7aa18b88988..0d1ac533f02 100644
--- a/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
+++ b/llvm/examples/Kaleidoscope/Chapter4/CMakeLists.txt
@@ -1,6 +1,5 @@
+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