aboutsummaryrefslogtreecommitdiffstats
path: root/examples/Kaleidoscope/Chapter4/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'examples/Kaleidoscope/Chapter4/CMakeLists.txt')
-rw-r--r--examples/Kaleidoscope/Chapter4/CMakeLists.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/Kaleidoscope/Chapter4/CMakeLists.txt b/examples/Kaleidoscope/Chapter4/CMakeLists.txt
index 2f828dc..2c01e12 100644
--- a/examples/Kaleidoscope/Chapter4/CMakeLists.txt
+++ b/examples/Kaleidoscope/Chapter4/CMakeLists.txt
@@ -3,12 +3,14 @@ set(LLVM_LINK_COMPONENTS
Core
ExecutionEngine
InstCombine
- MC
+ MCJIT
+ RuntimeDyld
ScalarOpts
Support
- nativecodegen
+ TransformUtils
+ native
)
-add_llvm_example(Kaleidoscope-Ch4
+add_kaleidoscope_chapter(Kaleidoscope-Ch4
toy.cpp
)