From 2aadd972fdf2ebdd9b483b6bd76e39385de802f0 Mon Sep 17 00:00:00 2001 From: jfclere Date: Wed, 14 Jun 2023 07:54:01 +0000 Subject: 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 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') 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) -- cgit v1.2.3