Parcourir la source

fix: 启用ulwip会编译报错,原因是ulwip的src目录没有纳入编译路径

Wendal Chen il y a 1 an
Parent
commit
880e6c2b92
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      luatos/components/luat/CMakeLists.txt

+ 1 - 0
luatos/components/luat/CMakeLists.txt

@@ -77,6 +77,7 @@ idf_component_register(SRC_DIRS ${LUATOS_ROOT}/luat/modules
                                 ${LUATOS_ROOT}/components/network/libemqtt
                                 ${LUATOS_ROOT}/components/network/libsntp
                                 ${LUATOS_ROOT}/components/network/ulwip/binding/
+                                ${LUATOS_ROOT}/components/network/ulwip/src/
                                 ${LUATOS_ROOT}/components/ethernet/common
                                 ${LUATOS_ROOT}/components/ethernet/w5500
                                 ${LUATOS_ROOT}/components/common