mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
TableGen.cmake: Fix to work without LLVM_COMMON_DEPENDS.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158650 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3b6752eec5
commit
1b9d890455
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user