edrosten / libblepp

Modern clean C++ Bluetooth Low Energy on Linux without the Bluez DBUS API
Other
241 stars 63 forks source link

honor BUILD_SHARED_LIBS on CMakeLists.txt #75

Open ycdtosa opened 11 months ago

ycdtosa commented 11 months ago

this change will allow the user to choose which type of library he wants to generate

cmake -DBUILD_SHARED_LIBS=ON ... will create a shared library cmake -DBUILD_SHARED_LIBS=OFF ... will create a static library