Skip to content

Commit

Permalink
re-en: Initialize Winsock with library load
Browse files Browse the repository at this point in the history
  • Loading branch information
ingo-h committed Jun 19, 2024
1 parent 3ec5724 commit bdbb5a8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Utest/upnplib/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Copyright (C) 2022+ GPL 3 and higher by Ingo Höft, <Ingo@Hoeft-online.de>
# Redistribution only with this Copyright remark. Last modified: 2024-06-18
# Redistribution only with this Copyright remark. Last modified: 2024-06-19

cmake_minimum_required(VERSION 3.18)
include(../../cmake/project-header.cmake)
Expand Down Expand Up @@ -38,6 +38,7 @@ add_test(NAME ctest_upnptools-ust COMMAND test_upnptools-ust --gtest_shuffle
# =======
add_executable(test_netaddr-ust
test_netaddr.cpp
${UPNPLIB_SOURCE_DIR}/src/net/socket.cpp
)
target_link_libraries(test_netaddr-ust
PRIVATE upnplib_static
Expand Down Expand Up @@ -69,6 +70,7 @@ add_test(NAME ctest_sockaddr-ust COMMAND test_sockaddr-ust --gtest_shuffle
# =========
add_executable(test_addrinfo-ust
test_addrinfo.cpp
${UPNPLIB_SOURCE_DIR}/src/net/socket.cpp
)
target_include_directories(test_addrinfo-ust
PRIVATE ${UPNPLIB_PROJECT_SOURCE_DIR}
Expand Down

0 comments on commit bdbb5a8

Please sign in to comment.