07c59aeb65
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.
15 lines
512 B
Text
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)
|
|
|