mirror of https://github.com/mgba-emu/mgba.git
PSP2: Let PSP2 find its packages if in portlibs
This commit is contained in:
parent
d38a65485a
commit
bb2b82d15e
|
@ -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")
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue