It seems inconsistent to have LLVMCC_EMITIR_FLAG and
[oota-llvm.git] / examples / BrainF / CMakeLists.txt
index 4859634ed138afc2059da57c98db92ce0c6974ec..7bec105cdc8a677d4cce4bc78d4ae52be8a7f4ba 100644 (file)
@@ -1,7 +1,6 @@
+set(LLVM_LINK_COMPONENTS jit bitwriter nativecodegen interpreter)
+
 add_llvm_example(BrainF
   BrainF.cpp
   BrainFDriver.cpp
   )
-
-add_llvm_link_components(BrainF jit nativecodegen interpreter)
-target_link_libraries(BrainF LLVMBitWriter)