mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 17:08:49 +00:00
cmake: Add component dependency support
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their requirements.
This commit is contained in:
committed by
Angus Gratton
parent
4a2f1f0354
commit
1cb5712463
@@ -1,6 +1,8 @@
|
||||
set(COMPONENT_ADD_INCLUDEDIRS port/include include)
|
||||
set(COMPONENT_SRCDIRS library port)
|
||||
|
||||
set(COMPONENT_REQUIRES lwip)
|
||||
|
||||
register_component()
|
||||
|
||||
target_compile_definitions(mbedtls PUBLIC
|
||||
|
||||
Reference in New Issue
Block a user