Nuke the old JIT.
[oota-llvm.git] / examples / Kaleidoscope / Chapter7 / CMakeLists.txt
index 3c4ac17d93ee5c61775cabdde348af444b2879c9..bdc0e5525db1075a08043d84aa0b631dafe19af7 100644 (file)
@@ -1,6 +1,17 @@
+set(LLVM_LINK_COMPONENTS
+  Analysis
+  Core
+  ExecutionEngine
+  InstCombine
+  MC
+  ScalarOpts
+  Support
+  TransformUtils
+  nativecodegen
+  )
+
+set(LLVM_REQUIRES_RTTI 1)
+
 add_llvm_example(Kaleidoscope-Ch7
   toy.cpp
   )
-
-add_llvm_link_components(Kaleidoscope-Ch7 jit interpreter native)
-target_link_libraries(Kaleidoscope-Ch7 LLVMCore)