PSP2: Fix USE_PNG
Jeffrey Pfau jeffrey@endrift.com
Sun, 01 Nov 2015 13:59:13 -0800
1 files changed,
3 insertions(+),
5 deletions(-)
jump to
M
CMakeLists.txt
→
CMakeLists.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)