mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2024-11-22 13:10:55 +01:00
Fix build with platformio IDF+Arduino (#122)
This commit is contained in:
parent
091c1c014c
commit
fee3829a89
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