[PATCH] D30656: CMake: Don't install llvm-tblgen twice

Tom Stellard via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 9 11:36:05 PST 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL297403: CMake: Don't install llvm-tblgen twice (authored by tstellar).

Changed prior to commit:
  https://reviews.llvm.org/D30656?vs=90704&id=91198#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D30656

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


Index: llvm/trunk/cmake/modules/TableGen.cmake
===================================================================
--- llvm/trunk/cmake/modules/TableGen.cmake
+++ llvm/trunk/cmake/modules/TableGen.cmake
@@ -99,7 +99,7 @@
     set(LLVM_ENABLE_OBJLIB ON)
   endif()
 
-  add_llvm_utility(${target} ${ARGN})
+  add_llvm_executable(${target} DISABLE_LLVM_LINK_LLVM_DYLIB ${ARGN})
   set(LLVM_LINK_COMPONENTS ${${target}_OLD_LLVM_LINK_COMPONENTS})
 
   set(${project}_TABLEGEN "${target}" CACHE


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30656.91198.patch
Type: text/x-patch
Size: 490 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170309/0d840662/attachment.bin>


More information about the llvm-commits mailing list