Nuke the old JIT.
[oota-llvm.git] / examples / Kaleidoscope / Chapter6 / CMakeLists.txt
index 002e0d4670beb8f75d3220cb5d32258a4db2314c..d36f03090e5b0a3efb15cbdd0e39c49dd85f90bf 100644 (file)
@@ -1,6 +1,14 @@
+set(LLVM_LINK_COMPONENTS
+  Analysis
+  Core
+  ExecutionEngine
+  InstCombine
+  MC
+  ScalarOpts
+  Support
+  nativecodegen
+  )
+
 add_llvm_example(Kaleidoscope-Ch6
   toy.cpp
   )
-
-add_llvm_link_components(Kaleidoscope-Ch6 jit interpreter native)
-target_link_libraries(Kaleidoscope-Ch6 LLVMCore)