diff options
author | Eric Covener <covener@apache.org> | 2024-06-14 02:53:25 +0200 |
---|---|---|
committer | Eric Covener <covener@apache.org> | 2024-06-14 02:53:25 +0200 |
commit | a34f3346ade91b68dc1294731b13e408a582f069 (patch) | |
tree | 29e68dc17a5806eec2764a22b9af94dbe3e24dba /CMakeLists.txt | |
parent | fix win cmake build by prefixing local enum values (diff) | |
download | apache2-a34f3346ade91b68dc1294731b13e408a582f069.tar.xz apache2-a34f3346ade91b68dc1294731b13e408a582f069.zip |
fix cmake windows build of proxy lbmethod mods
(for me at least, new-to-cmake on vstudio 2022)
Creating library mod_lbmethod_bybusyness.lib and object mod_lbmethod_bybusyness.exp
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_get_busy_count referenced in function is_best_bybusyness
mod_lbmethod_bybusyness.c.obj : error LNK2019: unresolved external symbol __imp_ap_proxy_set_busy_count referenced in function is_best_bybusyness
mod_lbmethod_bybusyness.so : fatal error LNK1120: 2 unresolved externals
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1918305 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c10b8f07a..4ff89d049f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -558,6 +558,10 @@ IF(LIBXML2_FOUND) ENDIF() SET(mod_proxy_scgi_extra_libs mod_proxy) SET(mod_proxy_wstunnel_extra_libs mod_proxy) +SET(mod_lbmethod_bybusyness_extra_libs mod_proxy) +SET(mod_lbmethod_bytraffic_extra_libs mod_proxy) +SET(mod_lbmethod_byrequests_extra_libs mod_proxy) +SET(mod_lbmethod_heartbeat_extra_libs mod_proxy) SET(mod_proxy_http2_requires NGHTTP2_FOUND) SET(mod_proxy_http2_extra_defines ssize_t=long) SET(mod_proxy_http2_extra_includes ${NGHTTP2_INCLUDE_DIR}) |