WangWeiLin-MV 898a927b84
[easyloggingpp] Fix pkgconfig and add usage (#36851)
Fix #36726 

### Changes
* Patch `easyloggingpp/CMakeLists.txt` to change
`ELPP_PKGCONFIG_INSTALL_DIR` from `share/pkgconfig` to `lib/pkgconfig`.
* Patch `easyloggingpp/cmake/easyloggingpp.pc.cmakein` to add `libdir`
and `Libs`
* Add `usage` about `FindPkgConfig` module

### Checklist

- [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.

Usage test pass with following triplets:
```
x86-windows
x64-linux
x64-windows
x64-windows-static
```
2024-02-21 09:35:50 -08:00

30 lines
817 B
JSON

{
"name": "easyloggingpp",
"version": "9.97.1",
"port-version": 1,
"description": "Easylogging++ is a single header efficient logging library for C++ applications.",
"homepage": "https://github.com/abumq/easyloggingpp",
"license": "MIT",
"dependencies": [
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"no-defaultfile": {
"description": "Do not write to default log file \"myeasylog.log\" (compile with ELPP_NO_DEFAULT_LOG_FILE)"
},
"std-locking": {
"description": "Use std::mutex for thread synchronization (compile with ELPP_FORCE_USE_STD_THREAD)"
},
"thread-safe": {
"description": "Make easyloggingpp thread safe (compile with ELPP_THREAD_SAFE)"
}
}
}