mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 07:12:03 +00:00
build: cmake is messly
This commit is contained in:
parent
f9d56f65a8
commit
6b626f1b27
2 changed files with 7 additions and 1 deletions
|
@ -119,6 +119,12 @@ ifdef SDL_NET
|
|||
SDL_LDFLAGS+=-lSDL2_net
|
||||
endif
|
||||
|
||||
ifdef MINGW
|
||||
ifndef NOSDLMAIN
|
||||
SDLMAIN=1
|
||||
endif
|
||||
endif
|
||||
|
||||
ifdef SDLMAIN
|
||||
OPTS+=-DSDLMAIN
|
||||
else
|
||||
|
|
|
@ -56,7 +56,7 @@ PSP_MAIN_THREAD_STACK_SIZE_KB(256);
|
|||
#endif
|
||||
|
||||
#if defined (_WIN32) && !defined (main)
|
||||
#define SDLMAIN
|
||||
//#define SDLMAIN
|
||||
#endif
|
||||
|
||||
#ifdef SDLMAIN
|
||||
|
|
Loading…
Reference in a new issue