Include Adafruit-GFX-Library in CMake build by default

This commit is contained in:
Sol Huebner 2022-01-30 04:56:14 -05:00 committed by GitHub
parent c682a7e5e3
commit 9d34d1acd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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" idf_component_register(SRCS "esp32_i2s_parallel_dma.c" "ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "ESP32-HUB75-MatrixPanel-leddrivers.cpp"
INCLUDE_DIRS "." 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" # In case you are running into issues with "missing" header files from 3rd party libraries
# you can add them to the REQUIRES section above (depending on how you added the library as component!) like # you can add them to the REQUIRES section above. If you use some of the build options below
# REQUIRES arduino Adafruit-GFX-Library) # 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 # Example to build with USE_GFX_ROOT or NO_GFX / just uncomment the appropriate line
# target_compile_options(${COMPONENT_TARGET} PUBLIC -DUSE_GFX_ROOT) # target_compile_options(${COMPONENT_TARGET} PUBLIC -DUSE_GFX_ROOT)