]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
* CMakeLists.txt: Configure stack size to 256K for httpd.exe to match NMake
authorIvan Zhakov <ivan@apache.org>
Tue, 24 Jan 2023 14:22:02 +0000 (14:22 +0000)
committerIvan Zhakov <ivan@apache.org>
Tue, 24 Jan 2023 14:22:02 +0000 (14:22 +0000)
  build system.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1906980 13f79535-47bb-0310-9956-ffa450edef68

CMakeLists.txt

index 39918754dd391a76fb796a6af121cadddd626b85..b7f9a69d300541fbc01501165c624c661bf6154e 100644 (file)
@@ -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} $<TARGET_PDB_FILE:httpd>)
 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