PSP2: Let PSP2 find its packages if in portlibs

This commit is contained in:
Jeffrey Pfau 2015-09-22 21:08:06 -07:00
parent d38a65485a
commit bb2b82d15e
2 changed files with 5 additions and 4 deletions

View File

@ -277,11 +277,11 @@ if(BUILD_GLES2 AND NOT BUILD_RASPI)
endif()
set(WANT_ZLIB ${USE_ZLIB})
set(WANT_PNG ${USE_PNG})
set(WANT_LIBZIP ${USE_LIBZIP})
find_feature(USE_FFMPEG "libavcodec;libavformat;libavresample;libavutil;libswscale")
if(NOT PSP2)
find_feature(USE_ZLIB "ZLIB")
find_feature(USE_PNG "PNG")
endif()
find_feature(USE_ZLIB "ZLIB")
find_feature(USE_PNG "PNG")
find_feature(USE_LIBZIP "libzip")
find_feature(USE_MAGICK "MagickWand")

View File

@ -34,6 +34,7 @@ set(CMAKE_EXE_LINKER_FLAGS ${link_flags} CACHE INTERNAL "exe link flags")
set(CMAKE_MODULE_LINKER_FLAGS ${link_flags} CACHE INTERNAL "module link flags")
set(CMAKE_SHARED_LINKER_FLAGS ${link_flags} CACHE INTERNAL "shared link flags")
set(CMAKE_PREFIX_PATH ${VITASDK}/arm-vita-eabi)
set(PKG_CONFIG_EXECUTABLE "/dev/null" CACHE INTERNAL "" FORCE)
set(PSP2 ON)