[CMake] add_llvm_target(): No need to include TABLEGEN_OUTPUT in source list.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Mar 2014 17:05:28 +0000 (17:05 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Tue, 4 Mar 2014 17:05:28 +0000 (17:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202862 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index 26e2a5a..41902d2 100644 (file)
@@ -456,7 +456,7 @@ macro(add_llvm_target target_name)
   include_directories(BEFORE
     ${CMAKE_CURRENT_BINARY_DIR}
     ${CMAKE_CURRENT_SOURCE_DIR})
-  add_llvm_library(LLVM${target_name} ${ARGN} ${TABLEGEN_OUTPUT})
+  add_llvm_library(LLVM${target_name} ${ARGN})
   set( CURRENT_LLVM_TARGET LLVM${target_name} )
 endmacro(add_llvm_target)