Skip to content

Commit

Permalink
feat(cmake, windows): increasing the stack size on windows to 8MB
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperFola committed Jul 28, 2024
1 parent ae2d819 commit 12f399f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ elseif (MSVC)
/wd4244 # disable warning about data loss (size_t -> char)
/wd4505 # disable warning about unused static function was deleted
/wd4068) # disable warnings about unknown pragmas.
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /STACK:8000000") # set stack size to 8MB
endif ()

# Link libraries
Expand Down

0 comments on commit 12f399f

Please sign in to comment.