mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-19 10:13:13 +00:00
CMake: fixes 64 bit Visual Studio IDE build. Fixes bug 4936.
Patch by Dimitry Andric! llvm-svn: 103727
This commit is contained in:
parent
223379b3a9
commit
7712b9a40b
@ -39,7 +39,12 @@ set(sources
|
||||
|
||||
if( CMAKE_CL_64 )
|
||||
enable_language(ASM_MASM)
|
||||
set(sources ${sources} X86CompilationCallback_Win64.asm)
|
||||
ADD_CUSTOM_COMMAND(
|
||||
OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj
|
||||
COMMAND ${CMAKE_ASM_MASM_COMPILER} /Fo ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj /c ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
|
||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/X86CompilationCallback_Win64.asm
|
||||
)
|
||||
set(sources ${sources} ${CMAKE_CURRENT_BINARY_DIR}/X86CompilationCallback_Win64.obj)
|
||||
endif()
|
||||
|
||||
add_llvm_target(X86CodeGen ${sources})
|
||||
|
Loading…
x
Reference in New Issue
Block a user