bt: Fix unit tests build with CMake

pull/2770/head
Anton Maklakov 2018-11-19 19:04:42 +08:00
rodzic 9dde91ce2b
commit 87e8757569
1 zmienionych plików z 4 dodań i 5 usunięć

Wyświetl plik

@ -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()