From: 孙春阳 Date: Sun, 21 Sep 2025 03:54:30 +0000 (+0800) Subject: 修复ppp编译时连接tcp_test失败问题 X-Git-Tag: leiniao_debug_1.0.0_20250922_020716~1^2~7 X-Git-Url: http://git.snicker.com.cn/css/static/gitweb.css?a=commitdiff_plain;h=f3b54eba2684089d7a3e804c55c710680ae8428c;p=mirrors%2FFD230.git 修复ppp编译时连接tcp_test失败问题 --- diff --git a/code/sdk/zhihui/ppp/CMakeLists.txt b/code/sdk/zhihui/ppp/CMakeLists.txt index ac9ec1be7..bd03b9385 100644 --- a/code/sdk/zhihui/ppp/CMakeLists.txt +++ b/code/sdk/zhihui/ppp/CMakeLists.txt @@ -32,6 +32,7 @@ set(PUBLIC_HEADER set(PRIVATE_HEADER ${ROOT_DIR}/middleware/chips/brandy/pm/include + ${ROOT_DIR}/zhihui/tcptest/include ) # 包含目录 @@ -100,7 +101,7 @@ set(COMPONENT_CCFLAGS # 是否整体链接 set(WHOLE_LINK - false + true ) # 是否为主组件 @@ -108,5 +109,10 @@ set(MAIN_COMPONENT false ) +# 需要链接的库 +set(LIBS + tcp_test +) + # 构建组件 build_component() \ No newline at end of file