minor tidy-up in cmake script.
parent
f266d92286
commit
493d45f00f
|
@ -2201,6 +2201,7 @@ elseif(RISCOS)
|
||||||
if(SDL_AUDIO)
|
if(SDL_AUDIO)
|
||||||
CheckOSS()
|
CheckOSS()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
elseif(VITA)
|
elseif(VITA)
|
||||||
# SDL_spinlock.c Needs to be compiled in ARM mode.
|
# SDL_spinlock.c Needs to be compiled in ARM mode.
|
||||||
check_c_compiler_flag(-marm HAVE_ARM_MODE)
|
check_c_compiler_flag(-marm HAVE_ARM_MODE)
|
||||||
|
@ -2281,7 +2282,6 @@ elseif(VITA)
|
||||||
|
|
||||||
if(VIDEO_VITA_PVR)
|
if(VIDEO_VITA_PVR)
|
||||||
check_include_file(gpu_es4/psp2_pvr_hint.h HAVE_PVR_H)
|
check_include_file(gpu_es4/psp2_pvr_hint.h HAVE_PVR_H)
|
||||||
|
|
||||||
if(HAVE_PVR_H)
|
if(HAVE_PVR_H)
|
||||||
target_compile_definitions(sdl-build-options INTERFACE "-D__psp2__")
|
target_compile_definitions(sdl-build-options INTERFACE "-D__psp2__")
|
||||||
set(SDL_VIDEO_OPENGL_EGL 1)
|
set(SDL_VIDEO_OPENGL_EGL 1)
|
||||||
|
@ -2330,7 +2330,6 @@ elseif(VITA)
|
||||||
taihen_stub
|
taihen_stub
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(HAVE_ARMSIMD TRUE)
|
set(HAVE_ARMSIMD TRUE)
|
||||||
|
@ -2355,7 +2354,6 @@ elseif(VITA)
|
||||||
# CheckPTHREAD()
|
# CheckPTHREAD()
|
||||||
|
|
||||||
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})
|
set(SDLMAIN_SOURCES ${SDLMAIN_SOURCES} ${PSP_MAIN_SOURCES})
|
||||||
|
|
||||||
|
@ -2409,7 +2407,6 @@ elseif(PSP)
|
||||||
pspvram
|
pspvram
|
||||||
GL
|
GL
|
||||||
)
|
)
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SDL_VULKAN AND NOT SDL_LOADSO)
|
if(SDL_VULKAN AND NOT SDL_LOADSO)
|
||||||
|
|
Loading…
Reference in New Issue