diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 19:34:23 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2012-08-15 19:34:23 +0000 |
commit | 58b69754af0cbff56b1cfce9be9392e4451f6628 (patch) | |
tree | eacfc83d988e4b9d11114387ae7dc41243f2a363 /cmake/modules/TableGen.cmake | |
parent | 0378662f5bd3dbe8305a485b0282bceb8b52f465 (diff) |
Diffstat (limited to 'cmake/modules/TableGen.cmake')
-rw-r--r-- | cmake/modules/TableGen.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmake/modules/TableGen.cmake b/cmake/modules/TableGen.cmake index 1b1b1728d744..e3bdd9c70483 100644 --- 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() |