From: Eric Covener Date: Fri, 14 Jun 2024 00:53:25 +0000 (+0000) Subject: fix cmake windows build of proxy lbmethod mods X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a34f3346ade91b68dc1294731b13e408a582f069;p=thirdparty%2Fapache%2Fhttpd.git 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 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c10b8f07ab..4ff89d049f7 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})