summaryrefslogtreecommitdiffstats
path: root/llvm/examples/BrainF
diff options
context:
space:
mode:
authorMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
committerMichael J. Spencer <bigcheesegs@gmail.com>2010-09-10 21:14:25 +0000
commitdc38d36ccb5b8274fb94701866ca5b39686ba125 (patch)
tree4d23f24aaef2fb4b486b2882a5c5340a4c3c773c /llvm/examples/BrainF
parent0881f4a367de8fc0ac7e1db44eca833171e655e2 (diff)
downloadbcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.tar.gz
bcm5719-llvm-dc38d36ccb5b8274fb94701866ca5b39686ba125.zip
CMake: Get rid of LLVMLibDeps.cmake and export the libraries normally.
llvm-svn: 113632
Diffstat (limited to 'llvm/examples/BrainF')
-rw-r--r--llvm/examples/BrainF/CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/examples/BrainF/CMakeLists.txt b/llvm/examples/BrainF/CMakeLists.txt
index 7bec105cdc8..4859634ed13 100644
--- a/llvm/examples/BrainF/CMakeLists.txt
+++ b/llvm/examples/BrainF/CMakeLists.txt
@@ -1,6 +1,7 @@
-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)
OpenPOWER on IntegriCloud