OpenBluetoothToolbox / SimpleBLE

SimpleBLE - the all-in-one Bluetooth library for MacOS, iOS, Windows, Linux and Android.
https://www.simpleble.org
Other
619 stars 107 forks source link

Fix non-existent DBus1 path in exported CMake target #305

Open remedi opened 2 months ago

remedi commented 2 months ago

This commit fixes the issue of SimpleBluez or SimpleDBus failing CMake configuration due to non-existent path in exported target. The issue occurs if DBus1 package files have moved since the installation of these libraries.

SimpleBluez and SimpleDBus should not make assumptions about the location or presence of files provided by DBus1 package. Instead, finding the DBus1 dependency should be done during package configuration by find_dependency() macro.

CLAassistant commented 2 weeks ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.