From a1430d546f29cf1be82aa64496e45568ff2e2b8e Mon Sep 17 00:00:00 2001 From: dhewg Date: Sat, 7 Jan 2012 18:57:07 +0100 Subject: [PATCH] Add SDL_win32_main.c Don't link against SDLmain.[a|lib], always compile it. We can use pure C MinGW cross compiled libraries with MSVC, and this is the only static library used. --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9801bb..4175549 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -667,6 +667,7 @@ elseif (WIN32) sys/win32/win_net.cpp sys/win32/win_shared.cpp sys/win32/win_syscon.cpp + sys/win32/SDL_win32_main.c ) set(src_sys_core