SDL: Add kernel32 to SDL_EXTRA_LIBS required for cross-compilation to Win32 native (547c8)

From 547c8c288b52a627b11054457767703793bab8b2 Mon Sep 17 00:00:00 2001
From: Joshua Barnett <[EMAIL REDACTED]>
Date: Sun, 9 Jul 2023 00:12:32 -0400
Subject: [PATCH] Add kernel32 to SDL_EXTRA_LIBS required for cross-compilation
 to Win32 native

Linking error experienced while compiling with the following toolchain
due to lack of kernel32.lib

https://github.com/llvm-mirror/llvm/blob/d35e5f8dded4c884ca25ca88f184e1505cad106c/cmake/platforms/WinMsvc.cmake#L317-L321
---
 CMakeLists.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3e6752c74279..d480e62aa651 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1913,7 +1913,7 @@ elseif(WINDOWS)
 
   # Libraries for Win32 native and MinGW
   if(NOT WINDOWS_STORE)
-    list(APPEND EXTRA_LIBS user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
+    list(APPEND EXTRA_LIBS kernel32 user32 gdi32 winmm imm32 ole32 oleaut32 version uuid advapi32 setupapi shell32)
   endif()
 
   if(WINDOWS_STORE)