aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormrfaptastic <12006953+mrfaptastic@users.noreply.github.com>2024-03-06 07:17:31 +0000
committerGitHub <noreply@github.com>2024-03-06 07:17:31 +0000
commitda0672ffd825335c20fa577a2377b0390597afe3 (patch)
tree7bd14224cacab64827949251c702bf7d8b8610f9
parentc340c9acee96ef698b234f4befd27ed1cbacd1f9 (diff)
parent2f55adbb26751a327a2c9906ea8e8c7f67fda94f (diff)
Merge pull request #600 from loganfin/master
Add esp_lcd dependency to build system
-rw-r--r--CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aa6a54f..e811967 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,11 @@ endif()
if(${target} STREQUAL "esp32s3")
list(APPEND extra_srcs src/platforms/${target}/gdma_lcd_parallel16.cpp)
+
+ # Required by gdma_lcd_parallel16.cpp
+ if (NOT esp_lcd IN_LIST build_dependencies)
+ list(APPEND build_dependencies esp_lcd)
+ endif()
endif()
idf_component_register(SRCS "src/platforms/esp32/esp32_i2s_parallel_dma.cpp" "src/ESP32-HUB75-MatrixPanel-I2S-DMA.cpp" "src/ESP32-HUB75-MatrixPanel-leddrivers.cpp" ${extra_srcs}