Browse Source

update readme

ruki 3 years ago
parent
commit
bffb9a3075
2 changed files with 2 additions and 2 deletions
  1. 1 1
      README.md
  2. 1 1
      README_zh.md

+ 1 - 1
README.md

@@ -108,7 +108,7 @@ package("libpng")
     set_homepage("http://libpng.sf.net")
     set_description("LIBPNG: Portable Network Graphics support, official libpng repository")
 
-    add_urls("https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.tar.gz",
+    add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz",
              "https://github.com/glennrp/libpng.git")
     add_versions("v1.6.35", "6d59d6a154ccbb772ec11772cb8f8beb0d382b61e7ccc62435bf7311c9f4b210")
 

+ 1 - 1
README_zh.md

@@ -104,7 +104,7 @@ package("libpng")
     set_homepage("http://libpng.sf.net")
     set_description("LIBPNG: Portable Network Graphics support, official libpng repository")
 
-    add_urls("https://github.com/glennrp/libpng/archive/refs/tags/v1.6.35.tar.gz",
+    add_urls("https://github.com/glennrp/libpng/archive/refs/tags/$(version).tar.gz",
              "https://github.com/glennrp/libpng.git")
     add_versions("v1.6.35", "6d59d6a154ccbb772ec11772cb8f8beb0d382b61e7ccc62435bf7311c9f4b210")