WIN32: fix undefined reference to GetAdaptersAddresses on MinGW
This PR fixes issue #487.
This commit is contained in:
parent
26a5d1813f
commit
67a3da8eca
|
|
@ -69,7 +69,7 @@ if(MSVC_42_FOR_RECCMP)
|
|||
target_sources(harness PRIVATE os/null.c)
|
||||
elseif(WIN32)
|
||||
target_sources(harness PRIVATE os/windows.c)
|
||||
target_link_libraries(harness PRIVATE dbghelp ws2_32)
|
||||
target_link_libraries(harness PRIVATE dbghelp ws2_32 iphlpapi)
|
||||
elseif(APPLE)
|
||||
target_sources(harness PRIVATE os/macos.c)
|
||||
elseif(CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
|
|
|
|||
Loading…
Reference in New Issue