fixed stack allocation issue

This commit is contained in:
georgemoralis 2024-05-02 10:57:24 +03:00
parent 7e8d90d609
commit 6f1e488b37
1 changed files with 2 additions and 0 deletions

View File

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