all repos — mgba @ 0dbb7673a0c52ed2a67cce2fb4de2848b1447d8d

mGBA Game Boy Advance Emulator

PSP2: Fix USE_PNG
Jeffrey Pfau jeffrey@endrift.com
Sun, 01 Nov 2015 13:59:13 -0800
commit

0dbb7673a0c52ed2a67cce2fb4de2848b1447d8d

parent

346d4210c61510a0eab78c23f7676aae5b93a42a

1 files changed, 3 insertions(+), 5 deletions(-)

jump to
M CMakeLists.txtCMakeLists.txt

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