SelectHTTPSBackend.cmake
5.05 KB
-
cmake: fix openssl build on win32 · 86872834
since f15c8ac7 libgit unconditionally depends on secur32 on Windows but only added it in cmake for the winhttp and schannel variants. In case libgit is built against openssl it would fail to link. This moves secur32 out of the https backend selection code into the global win32 condition (and while at it also adds ws2_32 to the .pc file)
Christoph Reiter committed