[baseline][cppkafka] Add DISABLE_PARALLEL_CONFIGURE (#30100)

* [baseline][cppkafka] Add DISABLE_PARALLEL_CONFIGURE

* Use "version" instead of "version-string"
This commit is contained in:
Cheney Wang 2023-03-11 07:08:15 +08:00 committed by GitHub
parent 89562cbf9b
commit 716c3524a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 9 deletions

View File

@ -1,7 +1,7 @@
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO mfontanini/cppkafka
REF v0.3.1
REF "v${VERSION}"
SHA512 60d01ce1dd9bd9119676be939ed5ab03539abb1f945c1b31e432edfe0f06542778f7fef37696f5ff19c53024f44d5cbd8aeddbbb231c38b098e05285d3ff0cab
HEAD_REF master
PATCHES fix-dynamic.patch
@ -15,6 +15,7 @@ endif()
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
DISABLE_PARALLEL_CONFIGURE
OPTIONS
-DCPPKAFKA_BUILD_SHARED=${CPPKAFKA_BUILD_SHARED}
-DCPPKAFKA_DISABLE_TESTS=ON
@ -28,4 +29,4 @@ vcpkg_copy_pdbs()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
# Handle copyright
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE")

View File

@ -1,19 +1,16 @@
{
"name": "cppkafka",
"version-string": "0.3.1",
"port-version": 4,
"version": "0.3.1",
"port-version": 5,
"description": "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol. The library is built on top of librdkafka, and provides a high level API that uses modern C++ features to make it easier to write code while keeping the wrapper's performance overhead to a minimum.",
"homepage": "https://github.com/mfontanini/cppkafka",
"license": "BSD-2-Clause",
"dependencies": [
"boost-program-options",
"librdkafka",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
}
]
}

View File

@ -1762,7 +1762,7 @@
},
"cppkafka": {
"baseline": "0.3.1",
"port-version": 4
"port-version": 5
},
"cppmicroservices": {
"baseline": "3.6.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "a33f71df221cb16bb2f7b1ce5d9cd0043a525e00",
"version": "0.3.1",
"port-version": 5
},
{
"git-tree": "c06b1731643d212f178623c88e8319c4c40104dc",
"version-string": "0.3.1",