Add to the list of cmake files the object file, not the asm file. This

is necessary for executing the custom command that runs the
assember. Fixes PR8877.

llvm-svn: 122649
This commit is contained in:
Oscar Fuentes 2010-12-31 20:15:37 +00:00
parent eb6d777882
commit a8eb60436b
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ if( CMAKE_CL_64 )
MAIN_DEPENDENCY X86CompilationCallback_Win64.asm
COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
)
set(sources ${sources} X86CompilationCallback_Win64.asm)
set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
endif()
add_llvm_target(X86CodeGen ${sources})