summaryrefslogtreecommitdiff
path: root/examples/BrainF
diff options
context:
space:
mode:
Diffstat (limited to 'examples/BrainF')
-rw-r--r--examples/BrainF/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/examples/BrainF/CMakeLists.txt b/examples/BrainF/CMakeLists.txt
index 4859634ed1..7bec105cdc 100644
--- a/examples/BrainF/CMakeLists.txt
+++ b/examples/BrainF/CMakeLists.txt
@@ -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)