use 16MB stack

This commit is contained in:
VaclavT 2021-02-17 23:01:43 +01:00
parent 4a867d3c22
commit 3ccc58a586
1 changed files with 3 additions and 0 deletions

View File

@ -9,6 +9,9 @@ set(CMAKE_CXX_STANDARD 17)
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
# stack 16MB
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-stack_size -Wl,0x1000000")
# otool -lV build/ml | grep stack
include_directories(/usr/local/opt/openssl/include ${CMAKE_SOURCE_DIR}/clib ${CMAKE_SOURCE_DIR} )