summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorjfclere <jfclere@unknown>2023-06-14 09:54:01 +0200
committerjfclere <jfclere@unknown>2023-06-14 09:54:01 +0200
commit2aadd972fdf2ebdd9b483b6bd76e39385de802f0 (patch)
tree6bca4aa4a07db7700b43ec37a238522baaa49298 /CMakeLists.txt
parent *) mod_http2: fixed a bug that could lead to a crash in main connection (diff)
downloadapache2-2aadd972fdf2ebdd9b483b6bd76e39385de802f0.tar.xz
apache2-2aadd972fdf2ebdd9b483b6bd76e39385de802f0.zip
openssl needs Ws2_32.lib for WSAGetLastError().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910399 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e27d686301..daeccb397f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -966,7 +966,7 @@ IF(OPENSSL_FOUND)
SET_TARGET_PROPERTIES(abs PROPERTIES INCLUDE_DIRECTORIES "${tmp_includes}")
DEFINE_WITH_BLANKS(define_long_name "LONG_NAME" "Apache HTTP Server ab/SSL program")
SET_TARGET_PROPERTIES(abs PROPERTIES COMPILE_FLAGS "-DAPP_FILE ${define_long_name} -DBIN_NAME=abs.exe ${EXTRA_COMPILE_FLAGS}")
- TARGET_LINK_LIBRARIES(abs ${EXTRA_LIBS} ${APR_LIBRARIES} ${OPENSSL_LIBRARIES})
+ TARGET_LINK_LIBRARIES(abs ${EXTRA_LIBS} ${APR_LIBRARIES} ${OPENSSL_LIBRARIES} Ws2_32.lib)
ENDIF()
GET_PROPERTY(tmp_includes TARGET ab PROPERTY INCLUDE_DIRECTORIES)