[libarchive] Fix usage (#21426)

* [libarchive] Fix usage

* version
This commit is contained in:
Jack·Boos·Yu 2021-11-17 08:42:13 +08:00 committed by GitHub
parent fd5854751d
commit ba64748ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -1,5 +1,5 @@
The package libarchive is compatible with built-in CMake targets:
find_package(libarchive REQUIRED)
find_package(LibArchive REQUIRED)
target_include_directories(main PRIVATE ${LibArchive_INCLUDE_DIRS})
target_link_libraries(main PRIVATE ${LibArchive_LIBRARIES})

View File

@ -1,7 +1,7 @@
{
"name": "libarchive",
"version-semver": "3.5.2",
"port-version": 1,
"port-version": 2,
"description": "Library for reading and writing streaming archives",
"homepage": "https://github.com/libarchive/libarchive",
"supports": "!uwp",

View File

@ -3294,7 +3294,7 @@
},
"libarchive": {
"baseline": "3.5.2",
"port-version": 1
"port-version": 2
},
"libass": {
"baseline": "0.15.2",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d79d7deb863644fb2bd6570d17cfa88386fc4156",
"version-semver": "3.5.2",
"port-version": 2
},
{
"git-tree": "1fb5fbe606242275316a4368c88327e123ab01ad",
"version-semver": "3.5.2",