CMake: Use LLVM_COMMON_DEPENDS on add_llvm_executable.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78990 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Oscar Fuentes 2009-08-14 04:38:57 +00:00
parent a339063723
commit d8b1b9a3c1

View File

@ -30,6 +30,9 @@ macro(add_llvm_executable name)
if( llvm_system_libs )
target_link_libraries(${name} ${llvm_system_libs})
endif()
if( LLVM_COMMON_DEPENDS )
add_dependencies( ${name} ${LLVM_COMMON_DEPENDS} )
endif( LLVM_COMMON_DEPENDS )
endmacro(add_llvm_executable name)