[Kaleidoscope] Remove RTTI use from chapters 7 and 8.
[oota-llvm.git] / examples / Kaleidoscope / Chapter7 / CMakeLists.txt
index 9b8227c693409144d99c20f68c7b9a5ac0353bc1..8725e4761f785368ce18f8e23f0f3f9ad45f40b8 100644 (file)
@@ -1,5 +1,16 @@
-set(LLVM_LINK_COMPONENTS core jit interpreter native)
+set(LLVM_LINK_COMPONENTS
+  Analysis
+  Core
+  ExecutionEngine
+  InstCombine
+  MCJIT
+  RuntimeDyld
+  ScalarOpts
+  Support
+  TransformUtils
+  native
+  )
 
-add_llvm_example(Kaleidoscope-Ch7
+add_kaleidoscope_chapter(Kaleidoscope-Ch7
   toy.cpp
   )