Fix a typo noticed by Peter Collingbourne. No one depends on this
authorChandler Carruth <chandlerc@gmail.com>
Wed, 2 Nov 2011 16:55:57 +0000 (16:55 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Wed, 2 Nov 2011 16:55:57 +0000 (16:55 +0000)
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

cmake/modules/TableGen.cmake

index 6fd48e2ad9e89d540c900e0c3132579915125b11..8c06b051b4d6fda0012e18850d880da831e720a8 100644 (file)
@@ -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.")