cmakelists: reintroduce /stack for win32
This commit is contained in:
@@ -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")
|
||||
|
Reference in New Issue
Block a user