Update src/CMakeLists.txt to increase stack size for windows build
[skip ci]
This commit is contained in:
parent
2549c9a916
commit
ca779265e5
1 changed files with 3 additions and 3 deletions
|
@ -8,9 +8,9 @@ enable_testing()
|
||||||
|
|
||||||
set(LEAN_EXTRA_LINKER_FLAGS "")
|
set(LEAN_EXTRA_LINKER_FLAGS "")
|
||||||
|
|
||||||
# Cygwin: Windows does not support ulimit -s unlimited. So, we reserve a lot of stack space: 100Mb
|
# Windows does not support ulimit -s unlimited. So, we reserve a lot of stack space: 100Mb
|
||||||
if(${CYGWIN})
|
if((${CYGWIN} EQUAL "1") OR (${CMAKE_SYSTEM_NAME} MATCHES "Windows"))
|
||||||
message(STATUS "CYGWIN detected")
|
message(STATUS "Windows detected")
|
||||||
set(LEAN_EXTRA_LINKER_FLAGS "${LEAN_EXTRA_LINKER_FLAGS} -Wl,--stack,104857600")
|
set(LEAN_EXTRA_LINKER_FLAGS "${LEAN_EXTRA_LINKER_FLAGS} -Wl,--stack,104857600")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue