[aseprite] 136/196: Disable png tests and dynamic library caching values

Tobias Hansen thansen at moszumanska.debian.org
Wed Apr 20 18:50:12 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 72b47e061aa91ac53bb25c4f7effba966e87c4cf
Author: David Capello <davidcapello at gmail.com>
Date:   Fri Apr 1 09:17:40 2016 -0300

    Disable png tests and dynamic library caching values
---
 third_party/CMakeLists.txt | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/third_party/CMakeLists.txt b/third_party/CMakeLists.txt
index 64376e7..dd95a75 100644
--- a/third_party/CMakeLists.txt
+++ b/third_party/CMakeLists.txt
@@ -18,10 +18,11 @@ if(NOT USE_SHARED_ZLIB)
 endif()
 
 if(NOT USE_SHARED_LIBPNG)
-  set(SKIP_INSTALL_ALL on)
-  set(PNG_SHARED off)
-  set(PNG_STATIC on)
-  set(PNG_TESTS off)
+  set(SKIP_INSTALL_ALL ON)
+  # We only need the static version of libpng
+  set(PNG_SHARED OFF CACHE BOOL "Build shared lib")
+  set(PNG_STATIC ON CACHE BOOL "Build static lib")
+  set(PNG_TESTS OFF CACHE BOOL "Build libpng tests")
   set(ZLIB_INCLUDE_DIR "${ZLIB_INCLUDE_DIRS}")
   add_subdirectory(libpng)
 endif()

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