[CMake] Let add_public_tablegen_target responsible to provide dependency to CommonTableGen.

add_public_tablegen_target adds *CommonTableGen to LLVM_COMMON_DEPENDS.
LLVM_COMMON_DEPENDS affects add_llvm_library (and other add_target stuff) within its scope.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
NAKAMURA Takumi
2013-11-28 17:04:04 +00:00
parent 4ca0ef70cd
commit ad363187c4
62 changed files with 14 additions and 111 deletions

View File

@@ -1,5 +1,3 @@
add_llvm_library(LLVMSystemZInfo
SystemZTargetInfo.cpp
)
add_dependencies(LLVMSystemZInfo SystemZCommonTableGen)