projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b6752e
)
TableGen.cmake: Fix to work without LLVM_COMMON_DEPENDS.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 17 Jun 2012 15:41:56 +0000
(15:41 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Sun, 17 Jun 2012 15:41:56 +0000
(15:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158650
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/TableGen.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/TableGen.cmake
b/cmake/modules/TableGen.cmake
index 1b1b1728d7442c52d9af7c430c395a475f912905..e3bdd9c7048302080153791b91e9314cf8a75d20 100644
(file)
--- a/
cmake/modules/TableGen.cmake
+++ b/
cmake/modules/TableGen.cmake
@@
-50,7
+50,9
@@
function(add_public_tablegen_target target)
if( TABLEGEN_OUTPUT )
add_custom_target(${target}
DEPENDS ${TABLEGEN_OUTPUT})
- add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
+ if (LLVM_COMMON_DEPENDS)
+ add_dependencies(${target} ${LLVM_COMMON_DEPENDS})
+ endif ()
set_target_properties(${target} PROPERTIES FOLDER "Tablegenning")
endif( TABLEGEN_OUTPUT )
endfunction()