1
0
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:
Anton Fedchin 2017-11-01 21:25:09 +03:00 committed by Julian Scheel
parent e9b4c05de5
commit f1f8d44b78

View File

@ -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)