Skip to content
Snippets Groups Projects
Commit 6b626f1b authored by Alam Ed Arias's avatar Alam Ed Arias
Browse files

build: cmake is messly

parent f9d56f65
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment