From a970c44de237b1437cddc6bfa7f07b23b98bf277 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 1 Jan 2020 23:12:38 -0800 Subject: [PATCH] Specify library dependencies in library.properties Specifying the library dependencies in the depends field of library.properties causes the Arduino Library Manager (Arduino IDE 1.8.10 and newer) to offer to install any missing dependencies during installation of this library. "arduino-cli lib install" will automatically install the dependencies (arduino-cli 0.7.0 and newer). --- library.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library.properties b/library.properties index 08f2e1a..1a00a1f 100644 --- a/library.properties +++ b/library.properties @@ -6,4 +6,5 @@ sentence=An Adafruit GFX driver for the Oak OLED (an SSD1306 with no reset line) paragraph=Install this as the display library for Adafruit_GFX category=Display url=https://github.com/netguy204/OakOLED -architectures=* \ No newline at end of file +architectures=* +depends=Adafruit GFX Library