[CMake] Update libdeps.
[oota-llvm.git] / examples / Kaleidoscope / Chapter5 / CMakeLists.txt
index 33a0651f8c0a9d9c15707a4635ca9dc07e0c04df..c3e7c43cb411d8a0fd711ef51576a7a9593f5e52 100644 (file)
@@ -1,6 +1,15 @@
+set(LLVM_LINK_COMPONENTS
+  Analysis
+  Core
+  ExecutionEngine
+  InstCombine
+  JIT
+  MC
+  ScalarOpts
+  Support
+  nativecodegen
+  )
+
 add_llvm_example(Kaleidoscope-Ch5
   toy.cpp
   )
-
-add_llvm_link_components(Kaleidoscope-Ch5 jit interpreter native)
-target_link_libraries(Kaleidoscope-Ch5 LLVMCore)