better way for compiler option

This commit is contained in:
georgemoralis 2024-05-02 15:48:48 +03:00
parent b0b73f1283
commit 2308d7f1d6
1 changed files with 1 additions and 1 deletions

View File

@ -395,7 +395,7 @@ if (WIN32)
# 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")
target_link_options(shadps4 PRIVATE /STACK:0x200000,0x200000)
endif()
if (WIN32)