set(REQUIRES bt) set(SRCS src/baros_ble.c) idf_component_register( SRCS ${SRCS} INCLUDE_DIRS "include" # if platform esp... REQUIRES ${REQUIRES} )