vcpkg/ports/librdkafka/vcpkg.json
Chen Yufei f4e370b968
[librdkafka] fix find_dependency LZ4. (#23815)
* [librdkafka] fix find_dependency LZ4.

Include `FindLZ4.cmake` will result following error message:

```
CMake Warning (dev) at /usr/local/lib/python3.6/dist-packages/cmake/data/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
  The package name passed to `find_package_handle_standard_args` (LZ4) does
  not match the name of the calling package (RdKafka).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
```

* [librdkafka] update port-version.

* Prepend and restore cmake module path.

* Update version database

* Update ports/librdkafka/portfile.cmake

* use the lz4 config files

Co-authored-by: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
2022-04-05 15:50:35 -07:00

44 lines
795 B
JSON

{
"name": "librdkafka",
"version": "1.8.2",
"port-version": 2,
"description": "The Apache Kafka C/C++ library",
"homepage": "https://github.com/edenhill/librdkafka",
"license": null,
"supports": "!uwp",
"dependencies": [
"lz4",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
],
"features": {
"snappy": {
"description": "Build with snappy"
},
"ssl": {
"description": "Build with OpenSSL",
"dependencies": [
"openssl"
]
},
"zlib": {
"description": "Build with zlib",
"dependencies": [
"zlib"
]
},
"zstd": {
"description": "Build with zstd",
"dependencies": [
"zstd"
]
}
}
}