examples: use new component registration api

* Original commit: espressif/esp-idf@6771eead80
This commit is contained in:
Renz Christian Bagaporo
2019-04-28 15:38:46 +08:00
committed by gabsuren
parent f3a0586663
commit 35d6f9a2c6
2 changed files with 5 additions and 8 deletions

View File

@ -1,4 +1,3 @@
set(COMPONENT_SRCS "esp_websocket_client.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(COMPONENT_REQUIRES lwip esp-tls tcp_transport nghttp)
register_component()
idf_component_register(SRCS "esp_websocket_client.c"
INCLUDE_DIRS "include"
REQUIRES lwip esp-tls tcp_transport nghttp)