mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -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_ADD_INCLUDEDIRS ".")
|
||||
set(COMPONENT_REQUIRES unity nvs_flash bt)
|
||||
|
||||
register_component()
|
||||
endif()
|
||||
|
||||
set(COMPONENT_REQUIRES unity nvs_flash bt)
|
||||
|
||||
register_component()
|
||||
|
Loading…
Reference in New Issue
Block a user