Forráskód Böngészése

Add http_parser (new component) dependency

Mahavir Jain 4 éve
szülő
commit
8e94cf2bb1

+ 1 - 1
components/esp-tls/CMakeLists.txt

@@ -13,7 +13,7 @@ idf_component_register(SRCS "${srcs}"
                     INCLUDE_DIRS . esp-tls-crypto
                     PRIV_INCLUDE_DIRS "private_include"
                     REQUIRES mbedtls
-                    PRIV_REQUIRES lwip nghttp)
+                    PRIV_REQUIRES lwip http_parser)
 
 if(CONFIG_ESP_TLS_USING_WOLFSSL)
     idf_component_get_property(wolfssl esp-wolfssl COMPONENT_LIB)

+ 1 - 1
components/esp_http_client/CMakeLists.txt

@@ -4,5 +4,5 @@ idf_component_register(SRCS "esp_http_client.c"
                             "lib/http_utils.c"
                     INCLUDE_DIRS "include"
                     PRIV_INCLUDE_DIRS "lib/include"
-                    REQUIRES nghttp
+                    REQUIRES http_parser
                     PRIV_REQUIRES tcp_transport)

+ 1 - 1
components/esp_http_server/CMakeLists.txt

@@ -7,5 +7,5 @@ idf_component_register(SRCS "src/httpd_main.c"
                             "src/util/ctrl_sock.c"
                     INCLUDE_DIRS "include"
                     PRIV_INCLUDE_DIRS "src/port/esp32" "src/util"
-                    REQUIRES nghttp # for http_parser.h
+                    REQUIRES http_parser # for http_parser.h
                     PRIV_REQUIRES lwip mbedtls esp_timer)

+ 1 - 1
components/esp_websocket_client/CMakeLists.txt

@@ -8,5 +8,5 @@ endif()
 
 idf_component_register(SRCS "esp_websocket_client.c"
                     INCLUDE_DIRS "include"
-                    REQUIRES lwip esp-tls tcp_transport nghttp
+                    REQUIRES lwip esp-tls tcp_transport http_parser
                     PRIV_REQUIRES esp_timer)