Revert find_library for ws2_32 and Mswsock.
GitOrigin-RevId: a08bdc6fe67c2bc62f5434619e113430151ca653
This commit is contained in:
parent
81b3afe762
commit
e3efbd9c84
@ -210,9 +210,10 @@ set(TDUTILS_TEST_SOURCE
|
||||
#LIBRARIES
|
||||
add_library(tdutils STATIC ${TDUTILS_SOURCE})
|
||||
if (WIN32)
|
||||
find_library(WS2_32_LIBRARY ws2_32)
|
||||
find_library(MSWSOCK_LIBRARY Mswsock)
|
||||
target_link_libraries(tdutils PRIVATE ${WS2_32_LIBRARY} ${MSWSOCK_LIBRARY})
|
||||
# find_library(WS2_32_LIBRARY ws2_32)
|
||||
# find_library(MSWSOCK_LIBRARY Mswsock)
|
||||
# target_link_libraries(tdutils PRIVATE ${WS2_32_LIBRARY} ${MSWSOCK_LIBRARY})
|
||||
target_link_libraries(tdutils PRIVATE ws2_32 Mswsock)
|
||||
endif()
|
||||
if (NOT CMAKE_CROSSCOMPILING)
|
||||
add_dependencies(tdutils tdmime_auto)
|
||||
|
Reference in New Issue
Block a user