Merge commit 'c61367c2731dca1e7ea0e881f69d96317c0aaaab' into main

main
Sam Lantinga 2022-06-29 17:24:53 -07:00
commit 233e88f707
1 changed files with 2 additions and 2 deletions

View File

@ -1096,7 +1096,7 @@ if(ANDROID)
endif()
file(GLOB ANDROID_MAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/android/*.c)
set(SDLMAIN_SOURCES ${SDLMAIN_SOURCES} ${ANDROID_MAIN_SOURCES})
list(APPEND SDLMAIN_SOURCES ${ANDROID_MAIN_SOURCES})
if(SDL_AUDIO)
set(SDL_AUDIO_DRIVER_ANDROID 1)
@ -2462,7 +2462,7 @@ elseif(VITA)
elseif(PSP)
file(GLOB PSP_MAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/psp/*.c)
set(SDLMAIN_SOURCES ${SDLMAIN_SOURCES} ${PSP_MAIN_SOURCES})
list(APPEND SDLMAIN_SOURCES ${PSP_MAIN_SOURCES})
if(SDL_AUDIO)
set(SDL_AUDIO_DRIVER_PSP 1)