mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04:00
bt: Fix unit tests build with CMake
This commit is contained in:
parent
9dde91ce2b
commit
87e8757569
@ -1,8 +1,7 @@
|
|||||||
if(CONFIG_BT_ENABLED)
|
if(CONFIG_BT_ENABLED OR CMAKE_BUILD_EARLY_EXPANSION)
|
||||||
set(COMPONENT_SRCDIRS ".")
|
set(COMPONENT_SRCDIRS ".")
|
||||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||||
|
set(COMPONENT_REQUIRES unity nvs_flash bt)
|
||||||
|
|
||||||
|
register_component()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(COMPONENT_REQUIRES unity nvs_flash bt)
|
|
||||||
|
|
||||||
register_component()
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user