BrainF.cpp: Update CreateCall() according to r237624.
[oota-llvm.git] / examples / Kaleidoscope / Chapter3 / CMakeLists.txt
index 059d7f6d5b009f947bd4978366e2246d48d3546f..8053c968f3dd978fc42b934d1e2bf885fd55cd6e 100644 (file)
@@ -1,5 +1,8 @@
-add_llvm_example(Kaleidoscope-Ch3
-  toy.cpp
+set(LLVM_LINK_COMPONENTS
+  Core
+  Support
   )
 
-target_link_libraries(Kaleidoscope-Ch3 LLVMCore)
+add_kaleidoscope_chapter(Kaleidoscope-Ch3
+  toy.cpp
+  )