edrosten / libblepp

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

Build as a subproject #66

Open 13hakta opened 1 year ago

13hakta commented 1 year ago

Please describe how to add this library to build as a subproject.

When I tried to add it with FetchContent_Declare/FetchContent_MakeAvailable I get: By not providing "FindBluez.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Bluez", but CMake did not find one. as CMAKE_MODULE_PATH is extended with set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules), but not applied properly.

edrosten commented 1 year ago

Any idea how to fix this?