mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 03:34:32 +02:00
bt: Fix unit tests build with CMake
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user