abedra / libvault

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

Allow users to create static libs #90

Closed snakethatlovesstaticlibs closed 2 years ago

snakethatlovesstaticlibs commented 2 years ago

This commit uses the standard CMAKE flag BUILD_SHARED_LIBS in order to allow users to specify whether they want a static library or a dynamic one. The default value of the flag is ON in order to maintain backwards compatibility.

abedra commented 2 years ago

Good call on this, thank you.