aboutsummaryrefslogtreecommitdiff
path: root/tools/lto/CMakeLists.txt
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2011-03-12 16:48:49 +0000
committerOscar Fuentes <ofv@wanadoo.es>2011-03-12 16:48:49 +0000
commit798403babdac3bb7e5ad64bc334cc75e697158be (patch)
treebc966f44a12fdad159291b180a67acaa0968dbb7 /tools/lto/CMakeLists.txt
parentba9934648f1b8f5b1749548963f385f1147c1f68 (diff)
Update link components for llvm-dis and LTO.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/lto/CMakeLists.txt')
-rw-r--r--tools/lto/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/lto/CMakeLists.txt b/tools/lto/CMakeLists.txt
index a316ef788e..b0aebd4f2e 100644
--- a/tools/lto/CMakeLists.txt
+++ b/tools/lto/CMakeLists.txt
@@ -1,4 +1,6 @@
-set(LLVM_LINK_COMPONENTS ipo scalaropts linker bitreader bitwriter)
+set(LLVM_LINK_COMPONENTS
+ ${LLVM_TARGETS_TO_BUILD}
+ ipo scalaropts linker bitreader bitwriter)
add_definitions( -DLLVM_VERSION_INFO=\"${PACKAGE_VERSION}\" )