This commit is contained in:
lizzie 2026-01-24 20:37:16 +00:00
parent ac0395fde5
commit 83285e20b0
2 changed files with 1 additions and 398 deletions

View file

@ -178,13 +178,7 @@ if (NOT ANDROID)
AddJsonPackage(sdl2)
endif()
if (PLATFORM_PS4)
set(SDL2_LIBRARY ${CMAKE_SYSROOT}/lib/libSDL2.a)
set(SDL2_INCLUDE_DIR ${CMAKE_SYSROOT}/include/SDL2)
find_package(SDL2 REQUIRED)
else()
find_package(SDL2 2.26.4 REQUIRED)
endif()
find_package(SDL2 2.26.4 REQUIRED)
endif()
set(BUILD_SHARED_LIBS OFF)