drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.41k stars 1.09k forks source link

Enabling spdlog on Windows and using spdlog in a project at the same time can cause duplicate symbol definitions #2165

Open ysysimon opened 2 hours ago

ysysimon commented 2 hours ago

The same operation works fine on Linux

ysysimon commented 2 hours ago

If drogon is installed using vcpkg, it is not compiled with USE_SPDLOG enabled by default