abedra / libvault

A C++ library for Hashicorp Vault
MIT License
34 stars 26 forks source link

Fix build on Windows using MSVC #31

Closed jimpark closed 4 years ago

jimpark commented 4 years ago

Added missing include . Also added set(CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS ON) to export symbols for DLLs.

abedra commented 4 years ago

Thanks! I don't have a good grasp of how to properly setup a build on windows. I would love to have a section in the README that explains it. I would also do my best going forward to make sure I didn't break anything on the windows side.