summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorIvan Zhakov <ivan@apache.org>2023-01-24 15:22:02 +0100
committerIvan Zhakov <ivan@apache.org>2023-01-24 15:22:02 +0100
commit735e7348ce55677589f8cf90435e576d00722181 (patch)
treed2dffc6cbeaa83e9dbef07fa9daddeda57d952a9 /CMakeLists.txt
parent* Report an error if the AJP backend sends an invalid number of headers (diff)
downloadapache2-735e7348ce55677589f8cf90435e576d00722181.tar.xz
apache2-735e7348ce55677589f8cf90435e576d00722181.zip
* 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
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
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} $<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