mirror of
https://github.com/espressif/esp-idf.git
synced 2025-12-07 09:02:08 +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
@@ -2,4 +2,6 @@ set(COMPONENT_ADD_INCLUDEDIRS include)
|
||||
set(COMPONENT_PRIV_INCLUDEDIRS include/internal include/platform include/openssl)
|
||||
set(COMPONENT_SRCDIRS library platform)
|
||||
|
||||
set(COMPONENT_REQUIRES mbedtls)
|
||||
|
||||
register_component()
|
||||
|
||||
Reference in New Issue
Block a user