From: Chandler Carruth Date: Wed, 2 Nov 2011 16:55:57 +0000 (+0000) Subject: Fix a typo noticed by Peter Collingbourne. No one depends on this X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a71b7b09116059e2a4359026f72eb429b6d2da8d;p=oota-llvm.git 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 --- diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index 6fd48e2ad9e..8c06b051b4d 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.")