mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-12-20 20:35:46 +08:00
cmake: fix sdl3.pc for Nintendo 3DS + add to test matrix
This commit is contained in:
@@ -2721,6 +2721,13 @@ elseif(N3DS)
|
||||
else()
|
||||
message_error("SDL_FILE must be enabled to build on N3DS")
|
||||
endif()
|
||||
|
||||
foreach(lib ${CMAKE_C_STANDARD_LIBRARIES})
|
||||
if(lib MATCHES "^-l")
|
||||
string(SUBSTRING "${lib}" 2 -1 lib)
|
||||
endif()
|
||||
list(APPEND SDL_EXTRA_LIBS ${lib})
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
if(HAVE_VULKAN AND NOT SDL_LOADSO)
|
||||
|
||||
Reference in New Issue
Block a user