aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Kaleidoscope/Chapter7/CMakeLists.txt
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
commit338c97baad1444a4158a7d99162e0e654f058c43 (patch)
tree5ac7e42fde2303030a9af1183b7842986459bc45 /examples/Kaleidoscope/Chapter7/CMakeLists.txt
parente6668e1e2fb0ed0645a751175ec6cf2106b5f6ad (diff)
downloadexternal_llvm-338c97baad1444a4158a7d99162e0e654f058c43.zip
external_llvm-338c97baad1444a4158a7d99162e0e654f058c43.tar.gz
external_llvm-338c97baad1444a4158a7d99162e0e654f058c43.tar.bz2
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'examples/Kaleidoscope/Chapter7/CMakeLists.txt')
-rw-r--r--examples/Kaleidoscope/Chapter7/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/Kaleidoscope/Chapter7/CMakeLists.txt b/examples/Kaleidoscope/Chapter7/CMakeLists.txt
index 9b8227c..3c4ac17 100644
--- a/examples/Kaleidoscope/Chapter7/CMakeLists.txt
+++ b/examples/Kaleidoscope/Chapter7/CMakeLists.txt
@@ -1,5 +1,6 @@
-set(LLVM_LINK_COMPONENTS core jit interpreter native)
-
add_llvm_example(Kaleidoscope-Ch7
toy.cpp
)
+
+add_llvm_link_components(Kaleidoscope-Ch7 jit interpreter native)
+target_link_libraries(Kaleidoscope-Ch7 LLVMCore)