Fix compilation error.
GitOrigin-RevId: a23376048dbd9ed09320ec857ae4153048d259ea
This commit is contained in:
parent
6b1f6b829d
commit
a8355f1749
@ -317,10 +317,12 @@ if (OPENSSL_FOUND)
|
||||
target_link_libraries(tdutils PRIVATE ${OPENSSL_CRYPTO_LIBRARY} ${CMAKE_DL_LIBS} ${ZLIB_LIBRARIES})
|
||||
target_include_directories(tdutils SYSTEM PRIVATE ${OPENSSL_INCLUDE_DIR})
|
||||
|
||||
if (MINGW)
|
||||
target_link_libraries(tdutils PRIVATE ws2_32 mswsock crypt32)
|
||||
else()
|
||||
target_link_libraries(tdutils PRIVATE ws2_32 Mswsock Crypt32)
|
||||
if (WIN32)
|
||||
if (MINGW)
|
||||
target_link_libraries(tdutils PRIVATE ws2_32 mswsock crypt32)
|
||||
else()
|
||||
target_link_libraries(tdutils PRIVATE ws2_32 Mswsock Crypt32)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user