mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-23 21:50:55 +01:00
Fix build with platformio IDF+Arduino
This commit is contained in:
parent
e93f943cc4
commit
913bc0534e
1 changed files with 4 additions and 0 deletions
|
@ -18,6 +18,10 @@ if("arduino" IN_LIST BUILD_COMPONENTS OR __hack_component_targets MATCHES "__idf
|
||||||
list(APPEND ESP_NIMBLE_PRIV_REQUIRES
|
list(APPEND ESP_NIMBLE_PRIV_REQUIRES
|
||||||
arduino
|
arduino
|
||||||
)
|
)
|
||||||
|
elseif("framework-arduinoespressif32" IN_LIST BUILD_COMPONENTS OR __hack_component_targets MATCHES "___idf_framework-arduinoespressif32")
|
||||||
|
list(APPEND ESP_NIMBLE_PRIV_REQUIRES
|
||||||
|
framework-arduinoespressif32
|
||||||
|
)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
idf_component_register(
|
idf_component_register(
|
||||||
|
|
Loading…
Reference in a new issue