use SDL2main
This commit is contained in:
parent
b644de1c1f
commit
f69917010a
|
@ -265,6 +265,9 @@ if (USE_SDL2)
|
|||
if (MSVC)
|
||||
list(APPEND DEPENDENCIES_COMPILE_OPTIONS "/DHAVE_LIBC")
|
||||
endif()
|
||||
if (WIN32)
|
||||
list(APPEND DEPENDENCIES_LIBRARIES SDL2main)
|
||||
endif()
|
||||
message(STATUS "Using vendored SDL2")
|
||||
endif()
|
||||
else()
|
||||
|
|
|
@ -613,7 +613,3 @@ int main(int argc, char** argv) {
|
|||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#include "winMain.cpp"
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue