pkgsrc/graphics/aqsis/patches/patch-cmake_modules_FindPNG_cmake
dholland 07c59aeb65 Update to 1.8.1. Changes: 10 years of development.
Add missing DESTDIR support.

Restriction: so far the GUI parts, which require qt4, are not built
by default, and probably won't build yet if enabled.
2012-04-30 01:59:12 +00:00

15 lines
512 B
Text

$NetBSD: patch-cmake_modules_FindPNG_cmake,v 1.1 2012/04/30 01:59:14 dholland Exp $
Use the right library name for libpng.
--- cmake/modules/FindPNG.cmake~ 2012-03-11 12:33:09.000000000 +0000
+++ cmake/modules/FindPNG.cmake
@@ -27,7 +27,7 @@ IF(WIN32)
SET(AQSIS_PNG_LIBRARY_NAMES png)
endif()
ELSE(WIN32)
- SET(AQSIS_PNG_LIBRARY_NAMES png)
+ SET(AQSIS_PNG_LIBRARY_NAMES png15)
SET(AQSIS_PNG_LIBRARIES_DIR CACHE PATH "Semi-colon separated list of paths to search for the png libraries")
ENDIF(WIN32)