From 735e7348ce55677589f8cf90435e576d00722181 Mon Sep 17 00:00:00 2001 From: Ivan Zhakov Date: Tue, 24 Jan 2023 14:22:02 +0000 Subject: * CMakeLists.txt: Configure stack size to 256K for httpd.exe to match NMake build system. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906980 13f79535-47bb-0310-9956-ffa450edef68 --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 39918754dd..b7f9a69d30 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -916,7 +916,10 @@ ADD_EXECUTABLE(httpd server/main.c build/win32/httpd.rc) SET(install_targets ${install_targets} httpd) SET(install_bin_pdb ${install_bin_pdb} $) DEFINE_WITH_BLANKS(define_long_name "LONG_NAME" "Apache HTTP Server") -SET_TARGET_PROPERTIES(httpd PROPERTIES COMPILE_FLAGS "-DAPP_FILE ${define_long_name} -DBIN_NAME=httpd.exe -DICON_FILE=${CMAKE_SOURCE_DIR}/build/win32/apache.ico ${EXTRA_COMPILE_FLAGS}") +SET_TARGET_PROPERTIES(httpd PROPERTIES + COMPILE_FLAGS "-DAPP_FILE ${define_long_name} -DBIN_NAME=httpd.exe -DICON_FILE=${CMAKE_SOURCE_DIR}/build/win32/apache.ico ${EXTRA_COMPILE_FLAGS}" + LINK_FLAGS "/stack:0x40000" +) TARGET_LINK_LIBRARIES(httpd libhttpd ${EXTRA_LIBS}) SET(standard_support -- cgit v1.2.3