mirror of https://github.com/mgba-emu/mgba.git
PSP2: Fix USE_PNG
This commit is contained in:
parent
346d4210c6
commit
0dbb7673a0
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue