Skip to content

Commit ad20584

Browse files
committed
Increasing stack when built with MinGW
1 parent 05ea94e commit ad20584

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
@@ -148,6 +148,7 @@ ELSE()
148148
ADD_COMPILE_FLAG("-Wno-unused-parameter")
149149
ADD_COMPILE_FLAG("-fno-omit-frame-pointer")
150150
IF(WIN32)
151+
ADD_LINK_FLAG("-Wl,--stack,8388608")
151152
ADD_COMPILE_FLAG("-D_GNU_SOURCE")
152153
ELSE()
153154
ADD_COMPILE_FLAG("-fPIC")

0 commit comments

Comments
 (0)