From: Renz Bagaporo Date: Wed, 19 Sep 2018 08:48:12 +0000 (+0800) Subject: mqtt: list files manually in component cmake file X-Git-Tag: v3.2-beta1~140^2~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8fdfc22e2e30f5d014beaf0ea880ed58b2617b83;p=esp-idf mqtt: list files manually in component cmake file --- diff --git a/components/mqtt/CMakeLists.txt b/components/mqtt/CMakeLists.txt index ba5375c41f..27cf1e2850 100644 --- a/components/mqtt/CMakeLists.txt +++ b/components/mqtt/CMakeLists.txt @@ -1,6 +1,10 @@ set(COMPONENT_ADD_INCLUDEDIRS esp-mqtt/include) set(COMPONENT_PRIV_INCLUDEDIRS "esp-mqtt/lib/include") -set(COMPONENT_SRCDIRS esp-mqtt esp-mqtt/lib) +set(COMPONENT_SRCS "esp-mqtt/mqtt_client.c" + "esp-mqtt/lib/mqtt_msg.c" + "esp-mqtt/lib/mqtt_outbox.c" + "esp-mqtt/lib/platform_esp32_idf.c" + "esp-mqtt/lib/transport_ws.c") set(COMPONENT_REQUIRES lwip nghttp mbedtls tcp_transport)