cmake: Add Kaleidoscope target
[oota-llvm.git] / examples / Kaleidoscope / Chapter6 / CMakeLists.txt
index 2e15a5f7dfc60b10639fc26ef71be543c3fd53af..c5a737ac67f0d283cedda8f5a11d00d23ef14a6f 100644 (file)
@@ -1,5 +1,15 @@
-set(LLVM_LINK_COMPONENTS core jit interpreter native)
+set(LLVM_LINK_COMPONENTS
+  Analysis
+  Core
+  ExecutionEngine
+  InstCombine
+  MC
+  ScalarOpts
+  Support
+  native
+  mcjit
+  )
 
-add_llvm_example(Kaleidoscope-Ch6
+add_kaleidoscope_chapter(Kaleidoscope-Ch6
   toy.cpp
   )