[llvm-commits] [llvm] r143545 - /llvm/trunk/cmake/modules/TableGen.cmake

Chandler Carruth chandlerc at gmail.com
Wed Nov 2 09:55:58 PDT 2011


Author: chandlerc
Date: Wed Nov  2 11:55:57 2011
New Revision: 143545

URL: http://llvm.org/viewvc/llvm-project?rev=143545&view=rev
Log:
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.

Modified:
    llvm/trunk/cmake/modules/TableGen.cmake

Modified: llvm/trunk/cmake/modules/TableGen.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/TableGen.cmake?rev=143545&r1=143544&r2=143545&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake (original)
+++ llvm/trunk/cmake/modules/TableGen.cmake Wed Nov  2 11:55:57 2011
@@ -79,7 +79,7 @@
   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.")





More information about the llvm-commits mailing list