aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manual/project_target.md2
-rw-r--r--zh-cn/manual/project_target.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/manual/project_target.md b/manual/project_target.md
index d2d6edfa..ea6d3f86 100644
--- a/manual/project_target.md
+++ b/manual/project_target.md
@@ -1837,7 +1837,7 @@ Users no longer need to call the [add_links](#targetadd_links), [add_includedirs
For how to set up the package search directory, please refer to: [add_packagedirs](/manual/global_interfaces?id=add_packagedirs) interface
-After v2.2.2, this interface also supports packages defined by [add_requires](#add_requires) in remote dependency management.
+After v2.2.2, this interface also supports packages defined by [add_requires](/manual/global_interfaces?id=add_requires) in remote dependency management.
```lua
add_requires("zlib", "polarssl")
diff --git a/zh-cn/manual/project_target.md b/zh-cn/manual/project_target.md
index a8bf273a..953ba2c1 100644
--- a/zh-cn/manual/project_target.md
+++ b/zh-cn/manual/project_target.md
@@ -1831,7 +1831,7 @@ target("test")
对于如何设置包搜索目录,可参考:[add_packagedirs](/zh-cn/manual/global_interfaces?id=add_packagedirs) 接口
-而在v2.2.2版本之后,此接口也同时支持远程依赖包管理中[add_requires](#add_requires)定义的包。
+而在v2.2.2版本之后,此接口也同时支持远程依赖包管理中[add_requires](/zh-cn/manual/global_interfaces?id=add_requires)定义的包。
```lua
add_requires("zlib", "polarssl")