From b3f99616c96ae5c4447c2ff2fcd0927df9ee1f86 Mon Sep 17 00:00:00 2001 From: im-tem Date: Fri, 15 Aug 2025 12:28:17 +0300 Subject: [PATCH] cmakelists: reintroduce /stack for win32 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index eba1a4f..3b8e26a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -38,6 +38,7 @@ if (NOT MSVC) set(CMAKE_CXX_FLAGS "-O2 -std=c++23 -Wall -Wextra -pedantic -fmax-errors=1") else() set(CMAKE_CXX_FLAGS "/std:c++latest /EHsc") + target_link_options(${PROJECT_NAME} PRIVATE "/STACK:0xffffff") endif() if (CMAKE_BUILD_TYPE STREQUAL "Debug")