forked from Mirrors/openclonk
Win32: Link libmisc against Winsock
Some parts of libmisc call into Winsock, so we should link that instead of just linking it into the final binaries.alut-include-path
parent
c8d37a5346
commit
eee5a5d663
|
@ -1241,12 +1241,7 @@ target_link_libraries(netpuncher
|
||||||
)
|
)
|
||||||
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
target_link_libraries(libmisc iphlpapi)
|
target_link_libraries(libmisc iphlpapi ws2_32)
|
||||||
target_link_libraries(openclonk ws2_32)
|
|
||||||
target_link_libraries(openclonk-server ws2_32)
|
|
||||||
target_link_libraries(c4group ws2_32)
|
|
||||||
target_link_libraries(c4script ws2_32)
|
|
||||||
target_link_libraries(netpuncher ws2_32)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_DEBUG>)
|
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:_DEBUG>)
|
||||||
|
|
Loading…
Reference in New Issue