[wesnoth-commits] [wesnoth/wesnoth] 4799ca: cmake, scons: Drop option to enable or disable the...

GitHub noreply at github.com
Tue Mar 27 21:56:05 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 4799ca05fe40838c41814433780d0464d9b8f071
      https://github.com/wesnoth/wesnoth/commit/4799ca05fe40838c41814433780d0464d9b8f071
  Author: Iris Morelle <shadowm at wesnoth.org>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M CMakeLists.txt
    M SConstruct
    M src/CMakeLists.txt

  Log Message:
  -----------
  cmake, scons: Drop option to enable or disable the removed SDL_SavePNG code

Commit dfc42e8a8dd550ca04ae16e2d2d7ebffbba0bc21 removed said code since
Wesnoth can use IMG_SavePNG() from SDL_image 2.0 instead. However, the
author left the build-time configuration options intact, and also part
of the necessary code for CMake to link Wesnoth against libpng.

Note that this change also eliminates an unnecessary direct link-time
dependency on libpng when using both CMake and SCons.




More information about the Commits mailing list