Don't link winsock1
wsock32.lib is only needed for the legacy version of Winsock and is not needed with Winsock2 (the current version). This appears to be a root cause of the multicast issue on Win10 and may allow us to reverse #404 Signed-off-by: Dan Rose <dan@digilabs.io>
This commit is contained in:
parent
d1ed8df9f3
commit
2c16dfa23e
1 changed files with 1 additions and 1 deletions
|
@ -236,7 +236,7 @@ if(NOT WITH_FREERTOS)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(ddsrt INTERFACE wsock32 ws2_32 iphlpapi bcrypt)
|
target_link_libraries(ddsrt INTERFACE ws2_32 iphlpapi bcrypt)
|
||||||
elseif(UNIX)
|
elseif(UNIX)
|
||||||
check_library_exists(c clock_gettime "" HAVE_CLOCK_GETTIME)
|
check_library_exists(c clock_gettime "" HAVE_CLOCK_GETTIME)
|
||||||
if(NOT HAVE_CLOCK_GETTIME)
|
if(NOT HAVE_CLOCK_GETTIME)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue