summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorOscar Fuentes <ofv@wanadoo.es>2010-12-31 20:15:37 +0000
committerOscar Fuentes <ofv@wanadoo.es>2010-12-31 20:15:37 +0000
commita8eb60436bdeb2508ed3e2dd706376f942e4488a (patch)
tree094b4a0723ad4cbe23efa7982243aaa9462d2f11 /llvm/lib
parenteb6d7778828c3010940cd246127e10b5feee7676 (diff)
downloadbcm5719-llvm-a8eb60436bdeb2508ed3e2dd706376f942e4488a.tar.gz
bcm5719-llvm-a8eb60436bdeb2508ed3e2dd706376f942e4488a.zip
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
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/CMakeLists.txt b/llvm/lib/Target/X86/CMakeLists.txt
index e62dfca491d..036dbcda214 100644
--- a/llvm/lib/Target/X86/CMakeLists.txt
+++ b/llvm/lib/Target/X86/CMakeLists.txt
@@ -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})
OpenPOWER on IntegriCloud