mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-27 06:35:16 +00:00
Add support to compile with MSVC 64bits
It's not ready, the program crashes when it starts, but at least we can compile for 64bits.
This commit is contained in:
parent
70f4354f88
commit
ebca329112
@ -10,7 +10,11 @@ if(MSVC)
|
||||
endif()
|
||||
|
||||
# Add support for Windows XP
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MACHINE:X86 /SUBSYSTEM:WINDOWS,5.01")
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MACHINE:X64")
|
||||
else()
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MACHINE:X86 /SUBSYSTEM:WINDOWS,5.01")
|
||||
endif()
|
||||
endif(MSVC)
|
||||
|
||||
# Libraries in this directory
|
||||
|
Loading…
x
Reference in New Issue
Block a user