vcpkg/ports/neargye-semver/vcpkg.json
Justen Di Ruscio 441831b902
[neargye-semver] use find-package support in vcpkg port (#36862)
Originally, this port copied the single header provided by the upstream
into the install destination. This required consumers to use the package
via `find_path(semver.hpp)`, which is less robust, is inconsistent, and
doesn't use targets.

These changes update the vcpkg port to leverage the config-file package
offered by [neargye/semver](https://github.com/Neargye/semver). With
this, consumers use the package through `find_package(neargye-semver
CONFIG), and the target `semver::semver`.

- [x] Changes comply with the [maintainer
guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md).
- ~[ ] SHA512s are updated for each updated download.~
- ~[ ] The "supports" clause reflects platforms that may be fixed by
this new version.~
- ~[ ] Any fixed [CI
baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt)
entries are removed from that file.~
- ~[ ] Any patches that are no longer applied are deleted from the
port's directory.~
- [x] The version database is fixed by rerunning `./vcpkg x-add-version
--all` and committing the result.
- [x] Only one version is added to each modified port's versions file.
2024-02-21 09:28:24 -08:00

19 lines
412 B
JSON

{
"name": "neargye-semver",
"version": "0.3.0",
"port-version": 2,
"description": "C++17 header-only dependency-free versioning library complying with Semantic Versioning 2.0.0",
"homepage": "https://github.com/Neargye/semver",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}