[aseprite] 145/196: Try to compile libpng before freetype (because freetype depends on libpng)

Tobias Hansen thansen at moszumanska.debian.org
Wed Apr 20 18:50:13 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 d94b859777fe258a555597f37259c118ccbb79bc
Author: David Capello <davidcapello at gmail.com>
Date:   Mon Apr 4 12:24:40 2016 -0300

    Try to compile libpng before freetype (because freetype depends on libpng)
---
 third_party/CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 2d5b0f6..28e4c45 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -84,6 +84,10 @@ if(NOT USE_SHARED_FREETYPE)
   endif()
 
   add_subdirectory(freetype2)
+
+  if(NOT USE_SHARED_LIBPNG)
+    add_dependencies(freetype png_static)
+  endif()
 endif()
 
 add_subdirectory(simpleini)

-- 
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