From 6f1e488b37facdf0c78c638b10b338206faff879 Mon Sep 17 00:00:00 2001 From: georgemoralis Date: Thu, 2 May 2024 10:57:24 +0300 Subject: [PATCH] fixed stack allocation issue --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 670190cc..5ded8ed3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -394,6 +394,8 @@ if (WIN32) endif() # Target Windows 10 RS5 add_definitions(-DNTDDI_VERSION=0x0A000006 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00) + # Increase stack,commit + set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:0x200000,0x200000") endif() if (WIN32)