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 "")
|
||||
|
||||
# Cygwin: Windows does not support ulimit -s unlimited. So, we reserve a lot of stack space: 100Mb
|
||||
if(${CYGWIN})
|
||||
message(STATUS "CYGWIN detected")
|
||||
# Windows does not support ulimit -s unlimited. So, we reserve a lot of stack space: 100Mb
|
||||
if((${CYGWIN} EQUAL "1") OR (${CMAKE_SYSTEM_NAME} MATCHES "Windows"))
|
||||
message(STATUS "Windows detected")
|
||||
set(LEAN_EXTRA_LINKER_FLAGS "${LEAN_EXTRA_LINKER_FLAGS} -Wl,--stack,104857600")
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in a new issue