From 253611290d0e1ffd1a69ea7d0dbaff8e1db9449e Mon Sep 17 00:00:00 2001
From: Constantin P <papizh.konstantin@demlabs.net>
Date: Tue, 8 Aug 2023 16:51:05 +0700
Subject: [PATCH] ...

---
 cmake/OS_Detection.cmake | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmake/OS_Detection.cmake b/cmake/OS_Detection.cmake
index 9f9db9b195..ca52af1043 100644
--- a/cmake/OS_Detection.cmake
+++ b/cmake/OS_Detection.cmake
@@ -170,7 +170,7 @@ if(WIN32)
       set(_CCOPT "-static -std=gnu11 ${CFLAGS_WARNINGS} -O3 -fPIC -fno-ident -ffast-math -fno-strict-aliasing -ftree-vectorize -mfpmath=sse -mmmx -msse2 -fno-asynchronous-unwind-tables -ffunction-sections -Wl,--gc-sections")
       if(NOT DAP_DBG_INFO)
           add_definitions ("-DNDEBUG")
-          set(_CCOPT "${_CCOPT} -mconsole -Wl,--strip-all")
+          set(_CCOPT "${_CCOPT} -Wl,--strip-all")
       endif()
     endif()
 
-- 
GitLab