Fix Levlam's cmake bug
This commit is contained in:
parent
fc5b0e9d06
commit
54938a07d6
@ -319,10 +319,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…
x
Reference in New Issue
Block a user