Specify citro3d as a dependency of the SDL targets

This commit is contained in:
Cameron Cawley 2024-04-11 19:05:18 +01:00
parent b48099b625
commit 9c68083108
2 changed files with 2 additions and 5 deletions

View File

@ -2915,6 +2915,7 @@ elseif(N3DS)
list(APPEND SOURCE_FILES ${N3DS_VIDEO_SOURCES})
set(SDL_VIDEO_OPENGL 0)
set(HAVE_SDL_VIDEO TRUE)
list(APPEND EXTRA_LIBS citro3d)
endif()
if(SDL_LOCALE)

View File

@ -215,11 +215,7 @@ add_sdl_test_executable(testvulkan testvulkan.c)
add_sdl_test_executable(testoffscreen testoffscreen.c)
if(N3DS)
sdltest_link_librararies(
SDL2::SDL2main
SDL2::SDL2-static
citro3d
)
sdltest_link_librararies(SDL2::SDL2main)
endif()
if(PSP)