diff options
| author | Oscar Fuentes <ofv@wanadoo.es> | 2010-12-31 20:15:37 +0000 |
|---|---|---|
| committer | Oscar Fuentes <ofv@wanadoo.es> | 2010-12-31 20:15:37 +0000 |
| commit | a8eb60436bdeb2508ed3e2dd706376f942e4488a (patch) | |
| tree | 094b4a0723ad4cbe23efa7982243aaa9462d2f11 /llvm/lib | |
| parent | eb6d7778828c3010940cd246127e10b5feee7676 (diff) | |
| download | bcm5719-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.txt | 2 |
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}) |

