Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

Fix shared build + downloaded spdlog (on linux) #79

Closed 0x00002a closed 3 years ago

0x00002a commented 3 years ago

This fixes the shared library + downloaded spdlog configuration (which runs into link errors otherwise). The problem was that MALLOY_BUILD_SHARED was not propagated to spdlog. Unfortunately I didn't catch this because I use external spdlog + conan for my local linux environment and didn't add the shared config to the CI.

This patch also adds the shared config to the CI, however it is disabled until #55 is resolved (since it won't build on msvc until then)

Tectu commented 3 years ago

Good catch, thanks!