[aseprite] 54/128: Fix compilation on MSVC for 32bit profile.
Tobias Hansen
thansen at moszumanska.debian.org
Mon May 9 21:24:23 UTC 2016
This is an automated email from the git hooks/post-receive script.
thansen pushed a commit to branch master
in repository aseprite.
commit eda468b272ce818393f65ee167233012187d5b3d
Author: Azamat H. Hackimov <azamat.hackimov at gmail.com>
Date: Mon Apr 25 20:06:40 2016 +0500
Fix compilation on MSVC for 32bit profile.
Option "/SUBSYSTEM:WINDOWS,5.01" cause failing compilation checkings.
It is near to impossible compile current cmake-project on Windows XP,
and since this statement doing nothing else than CMake can do
themself, let's just delete them.
Tested on Windows 10 / MSVC 2015 on 32 and 64 bit profiles. Fixes
issue #1086.
---
src/CMakeLists.txt | 8 --------
1 file changed, 8 deletions(-)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index afc8714..8585516 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/aseprite.git
More information about the Pkg-games-commits
mailing list