Modernize raw_fd_ostream's constructor a bit.
[oota-llvm.git] / examples / BrainF / CMakeLists.txt
index 4859634ed138afc2059da57c98db92ce0c6974ec..65589d9f39f2b669682638082988101d4c2c8ab5 100644 (file)
@@ -1,7 +1,14 @@
+set(LLVM_LINK_COMPONENTS
+  BitWriter
+  Core
+  ExecutionEngine
+  JIT
+  MC
+  Support
+  nativecodegen
+  )
+
 add_llvm_example(BrainF
   BrainF.cpp
   BrainFDriver.cpp
   )
-
-add_llvm_link_components(BrainF jit nativecodegen interpreter)
-target_link_libraries(BrainF LLVMBitWriter)