[Commits] [wesnoth/wesnoth] 00f032: cmake: Replace a bogus check for MSVC with WIN32

GitHub noreply at github.com
Tue Dec 16 07:39:54 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 00f03226905b924209c47561bf25bf8e43d4db08
      https://github.com/wesnoth/wesnoth/commit/00f03226905b924209c47561bf25bf8e43d4db08
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M src/CMakeLists.txt

  Log Message:
  -----------
  cmake: Replace a bogus check for MSVC with WIN32

MSVC++ isn't the only compiler that targets Win32, and the file in
question is needed for all of them.


  Commit: 7db1de542188fa9a638a39ea991fc8515aecd302
      https://github.com/wesnoth/wesnoth/commit/7db1de542188fa9a638a39ea991fc8515aecd302
  Author: Ignacio R. Morelle <shadowm at wesnoth.org>
  Date:   2014-12-16 (Tue, 16 Dec 2014)

  Changed paths:
    M CMakeLists.txt

  Log Message:
  -----------
  cmake: Replace another bogus check for MSVC with WIN32

Otherwise attempting to compile with any other compiler targeting Win32
results in build errors with the Lua code, unless (presumably) you are
targeting Cygwin or another full POSIX implementation on Win32.


Compare: https://github.com/wesnoth/wesnoth/compare/7257462ff5a6...7db1de542188


More information about the Commits mailing list