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