mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-17 07:10:36 +00:00
Merge pull request #1088 from winterheart/windows-compile
Fix compilation on MSVC for 32bit profile. (fix #1086)
This commit is contained in:
commit
be063fded7
@ -25,14 +25,6 @@ if(MSVC)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /NODEFAULTLIB:LIBCMT")
|
||||
endif()
|
||||
|
||||
if (CMAKE_CL_64)
|
||||
# 64 bits
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MACHINE:X64")
|
||||
else()
|
||||
# Add support for Windows XP with 5.01 subsystem
|
||||
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /MACHINE:X86 /SUBSYSTEM:WINDOWS,5.01")
|
||||
endif()
|
||||
|
||||
add_definitions(-D_SCL_SECURE_NO_WARNINGS)
|
||||
endif(MSVC)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user