summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-11-02 16:55:57 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-11-02 16:55:57 +0000
commita71b7b09116059e2a4359026f72eb429b6d2da8d (patch)
tree43b01a51a7a331c6ceb554b3a52fc2a9197f7fa4 /cmake
parent6c13db4b4f5ed8e011347ca59544cd2da96fdef3 (diff)
downloadllvm-a71b7b09116059e2a4359026f72eb429b6d2da8d.tar.gz
llvm-a71b7b09116059e2a4359026f72eb429b6d2da8d.tar.bz2
llvm-a71b7b09116059e2a4359026f72eb429b6d2da8d.tar.xz
Fix a typo noticed by Peter Collingbourne. No one depends on this
working today, but it shouldn't corrupt state for some poor soul to debug later. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143545 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/TableGen.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake
index 6fd48e2ad9..8c06b051b4 100644
--- a/cmake/modules/TableGen.cmake
+++ b/cmake/modules/TableGen.cmake
@@ -79,7 +79,7 @@ macro(add_tablegen target project)
set(${target}_OLD_LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS})
set(LLVM_LINK_COMPONENTS ${LLVM_LINK_COMPONENTS} TableGen)
add_llvm_utility(${target} ${ARGN})
- set(LLVM_LINK_COMPONENTS ${target}_OLD_LLVM_LINK_COMPONENTS)
+ set(LLVM_LINK_COMPONENTS ${${target}_OLD_LLVM_LINK_COMPONENTS})
set(${project}_TABLEGEN "${target}" CACHE
STRING "Native TableGen executable. Saves building one when cross-compiling.")