From 9d34d1acd1daab74dec45a2bbf6c533638723c11 Mon Sep 17 00:00:00 2001 From: Sol Huebner Date: Sun, 30 Jan 2022 04:56:14 -0500 Subject: [PATCH] Include Adafruit-GFX-Library in CMake build by default --- CMakeLists.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0b569aa..c216185 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,11 +6,11 @@ cmake_minimum_required(VERSION 3.5) idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "ESP32-HUB75-MatrixPanel-leddrivers.cpp" INCLUDE_DIRS "." - REQUIRES arduino) + REQUIRES arduino Adafruit-GFX-Library) -# In case you are running into issues with "missing" header files from 3rd party libraries like "Adafruit_GFX.h" -# you can add them to the REQUIRES section above (depending on how you added the library as component!) like -# REQUIRES arduino Adafruit-GFX-Library) +# In case you are running into issues with "missing" header files from 3rd party libraries +# you can add them to the REQUIRES section above. If you use some of the build options below +# you probably want to remove (NO_GFX) or replace Adafruit-GFX-Library (USE_GFX_ROOT) # Example to build with USE_GFX_ROOT or NO_GFX / just uncomment the appropriate line # target_compile_options(${COMPONENT_TARGET} PUBLIC -DUSE_GFX_ROOT)