build: cmake is messly

This commit is contained in:
Alam Ed Arias 2016-02-07 20:53:27 -05:00
parent f9d56f65a8
commit 6b626f1b27
2 changed files with 7 additions and 1 deletions

View File

@ -119,6 +119,12 @@ ifdef SDL_NET
SDL_LDFLAGS+=-lSDL2_net SDL_LDFLAGS+=-lSDL2_net
endif endif
ifdef MINGW
ifndef NOSDLMAIN
SDLMAIN=1
endif
endif
ifdef SDLMAIN ifdef SDLMAIN
OPTS+=-DSDLMAIN OPTS+=-DSDLMAIN
else else

View File

@ -56,7 +56,7 @@ PSP_MAIN_THREAD_STACK_SIZE_KB(256);
#endif #endif
#if defined (_WIN32) && !defined (main) #if defined (_WIN32) && !defined (main)
#define SDLMAIN //#define SDLMAIN
#endif #endif
#ifdef SDLMAIN #ifdef SDLMAIN