]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
server : fix building and simplify lib deps on Windows (#1772)
authorPrzemysław Pawełczyk <redacted>
Mon, 15 Jan 2024 13:48:13 +0000 (14:48 +0100)
committerGitHub <redacted>
Mon, 15 Jan 2024 13:48:13 +0000 (15:48 +0200)
commitf5f159c320d3d4be0ccb9746cde5323933ebc453
tree5ff226730b8cd2745acc46522728360e0d5512b3
parent6ebba525f1cc9393752906023a3385a2cc8062ed
server : fix building and simplify lib deps on Windows (#1772)

* make : fix server example building on MSYS2 environments (Windows)

It was not working since commit eff3570f78742dfd56024328ed93d4f442434280
when server was introduced.

* cmake : simplify server example lib deps on Windows

server uses httplib::Server, not httplib::SSLServer, so there is no need
to mention cryptographic libraries in target_link_libraries.
Winsock (ws2_32) suffices here.

Also use plain library names like we use in other places.
Makefile
examples/server/CMakeLists.txt