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