PSP2: Fix USE_PNG

This commit is contained in:
Jeffrey Pfau 2015-11-01 13:59:13 -08:00
parent 346d4210c6
commit 0dbb7673a0
1 changed files with 3 additions and 5 deletions

View File

@ -396,11 +396,9 @@ endif()
if(USE_PNG)
list(APPEND FEATURES PNG)
if(NOT PSP2)
include_directories(AFTER ${PNG_INCLUDE_DIRS})
list(APPEND DEPENDENCY_LIB ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libpng12-0")
endif()
include_directories(AFTER ${PNG_INCLUDE_DIRS})
list(APPEND DEPENDENCY_LIB ${PNG_LIBRARIES} ${ZLIB_LIBRARIES})
set(CPACK_DEBIAN_PACKAGE_DEPENDS "${CPACK_DEBIAN_PACKAGE_DEPENDS},libpng12-0")
endif()
if(USE_LIBZIP)