Fix multi-platform compilation issues

This commit is contained in:
walle
2026-02-02 13:12:44 +08:00
committed by Sam Lantinga
parent bb8eee8fac
commit f5efba34da
2 changed files with 213 additions and 167 deletions
+1 -1
View File
@@ -2374,7 +2374,7 @@ elseif(WINDOWS)
set(HAVE_SDL_STORAGE 1)
# Libraries for Win32 native and MinGW
sdl_link_dependency(base LIBS kernel32 user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
sdl_link_dependency(base LIBS kernel32 user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32 hid)
set(SDL_TIME_WINDOWS 1)
sdl_glob_sources("${SDL3_SOURCE_DIR}/src/time/windows/*.c")
File diff suppressed because it is too large Load Diff