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")