mirror of
https://github.com/DigitalDevices/pvr.octonet.git
synced 2023-10-10 13:36:57 +02:00
win10: fix linkage to deprecated wsock32 api.
This commit is contained in:
parent
e9b4c05de5
commit
f1f8d44b78
@ -34,7 +34,11 @@ set(OCTONET_HEADERS
|
||||
build_addon(pvr.octonet OCTONET DEPLIBS)
|
||||
|
||||
if(WIN32)
|
||||
target_link_libraries(pvr.octonet wsock32 ws2_32)
|
||||
if(NOT CMAKE_SYSTEM_NAME STREQUAL WindowsStore)
|
||||
target_link_libraries(pvr.octonet wsock32 ws2_32)
|
||||
else()
|
||||
target_link_libraries(pvr.octonet ws2_32)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(CPack)
|
||||
|
Loading…
Reference in New Issue
Block a user