From c586a87ebe8faeaac1778b8dea116b98c47396d1 Mon Sep 17 00:00:00 2001 From: 0xFEEDC0DE64 Date: Mon, 15 Feb 2021 02:07:08 +0100 Subject: [PATCH] Added CMakeLists.txt for esp-idf component --- CMakeLists.txt | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b849c3c..100a9ab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,9 @@ +set(headers + TFT_eSPI.h +) -idf_component_register(SRCS "TFT_eSPI.cpp" - INCLUDE_DIRS "." - PRIV_REQUIRES arduino) \ No newline at end of file +set(sources + TFT_eSPI.cpp +) + +idf_component_register(INCLUDE_DIRS . SRCS ${headers} ${sources} REQUIRES arduino-esp32 freertos esp_system)