Skip to content

Commit 9ff9885

Browse files
jujdschuff
authored andcommitted
Set stack size on MinGW to match the 8MB that is set for Visual Studio. (#1103)
1 parent fa5165b commit 9ff9885

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ ELSE()
153153
ADD_COMPILE_FLAG("-fno-omit-frame-pointer")
154154
IF(WIN32)
155155
ADD_COMPILE_FLAG("-D_GNU_SOURCE")
156+
ADD_LINK_FLAG("-Wl,--stack,8388608")
156157
ELSE()
157158
ADD_COMPILE_FLAG("-fPIC")
158159
ENDIF()

0 commit comments

Comments
 (0)