From: Ivan Zhakov Date: Tue, 24 Jan 2023 14:22:02 +0000 (+0000) Subject: * CMakeLists.txt: Configure stack size to 256K for httpd.exe to match NMake X-Git-Tag: 2.5.0-alpha2-ci-test-only~138 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=735e7348ce55677589f8cf90435e576d00722181;p=thirdparty%2Fapache%2Fhttpd.git * 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 39918754dd3..b7f9a69d300 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