Closed ankurvdev closed 3 years ago
Once added as a submodule the gattlib library can be linked as below
set(GATTLIB_BUILD_DOCS OFF CACHE BOOLEAN "") set(GATTLIB_PYTHON_INTERFACE OFF CACHE BOOLEAN "") add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/gattlib gattlib) target_link_libraries(bluetooth.linux.client PUBLIC gattlib Threads::Threads) target_compile_options(gattlib PRIVATE -Wno-enum-conversion -Wno-sometimes-uninitialized )
Thanks @ankurverma85 for your contribution :-)
Once added as a submodule the gattlib library can be linked as below