Add needed library for windows (crypt32)

This commit is contained in:
Andrea Cavalli 2020-10-11 02:37:45 +02:00
parent 459e08c1b4
commit be83b71452

View File

@ -340,7 +340,7 @@ if (WIN32)
target_link_libraries(tdutils PRIVATE ws2_32 Mswsock Normaliz psapi)
endif()
if (NOT CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
target_link_libraries(tdutils PRIVATE shell32)
target_link_libraries(tdutils PRIVATE shell32 crypt32)
endif()
endif()