forked from loboris/ESP32_TFT_library
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmake: Declare nvs_flash as a dependency, instead of pushing absolute…
… include path For more information about how component requirements are declared, see https://docs.espressif.com/projects/esp-idf/en/v4.0.1/api-guides/build-system.html#component-requirements Closes loboris#8
- Loading branch information
1 parent
a06a578
commit 17fc226
Showing
2 changed files
with
3 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
set(SOURCES tft_demo.c) | ||
idf_component_register( | ||
SRCS ${SOURCES} | ||
INCLUDE_DIRS | ||
${CMAKE_CURRENT_LIST_DIR} | ||
$ENV{IDF_PATH}/components | ||
REQUIRES | ||
tft | ||
spiffs | ||
PRIV_REQUIRES | ||
nvs_flash | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters