mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-12-26 20:31:30 +00:00
cmake: fix NDEBUG on Debug
wow i'm stupid
This commit is contained in:
parent
70f046a320
commit
4d3a7dd8fb
2 changed files with 0 additions and 10 deletions
|
@ -165,7 +165,6 @@ if(${SDL2_FOUND})
|
|||
|
||||
target_compile_definitions(${SRB2_SDL2_EXE_NAME} PRIVATE
|
||||
-DHAVE_SDL
|
||||
-DNDEBUG
|
||||
)
|
||||
|
||||
#### Installation ####
|
||||
|
|
|
@ -667,17 +667,9 @@ static void I_StartupConsole(void)
|
|||
{
|
||||
HANDLE ci, co;
|
||||
const INT32 ded = M_CheckParm("-dedicated");
|
||||
#ifdef SDLMAIN
|
||||
BOOL gotConsole = FALSE;
|
||||
if (M_CheckParm("-console") || ded)
|
||||
gotConsole = AllocConsole();
|
||||
#else
|
||||
BOOL gotConsole = TRUE;
|
||||
if (M_CheckParm("-detachconsole"))
|
||||
{
|
||||
FreeConsole();
|
||||
gotConsole = AllocConsole();
|
||||
}
|
||||
#ifdef _DEBUG
|
||||
else if (M_CheckParm("-noconsole") && !ded)
|
||||
#else
|
||||
|
@ -687,7 +679,6 @@ static void I_StartupConsole(void)
|
|||
FreeConsole();
|
||||
gotConsole = FALSE;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (gotConsole)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue