mirror of
https://github.com/Ryujinx/SDL.git
synced 2024-12-23 00:05:35 +00:00
cmake: do list(APPEND SDLMAIN_SOURCES)
This commit is contained in:
parent
965c164537
commit
c61367c273
|
@ -1096,7 +1096,7 @@ if(ANDROID)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
file(GLOB ANDROID_MAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/android/*.c)
|
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)
|
if(SDL_AUDIO)
|
||||||
set(SDL_AUDIO_DRIVER_ANDROID 1)
|
set(SDL_AUDIO_DRIVER_ANDROID 1)
|
||||||
|
@ -2462,7 +2462,7 @@ elseif(VITA)
|
||||||
|
|
||||||
elseif(PSP)
|
elseif(PSP)
|
||||||
file(GLOB PSP_MAIN_SOURCES ${SDL2_SOURCE_DIR}/src/main/psp/*.c)
|
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)
|
if(SDL_AUDIO)
|
||||||
set(SDL_AUDIO_DRIVER_PSP 1)
|
set(SDL_AUDIO_DRIVER_PSP 1)
|
||||||
|
|
Loading…
Reference in a new issue