mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[librabbitmq] add ssl feature (#48494)
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO alanxz/rabbitmq-c
|
||||
REF "v${VERSION}"
|
||||
REF "v${VERSION}"
|
||||
SHA512 62b4e92fc270c5bdc5343cfaef5245e29a9b6d8983071a47391a93ae1b766ed7b98a6a546e8528befbc284f5ed17da4647595e94341380bfa76598569191e6c0
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
fix-uwpwarning.patch
|
||||
)
|
||||
|
||||
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
||||
FEATURES
|
||||
ssl ENABLE_SSL_SUPPORT
|
||||
)
|
||||
|
||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" BUILD_STATIC)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
SOURCE_PATH "${SOURCE_PATH}"
|
||||
OPTIONS
|
||||
${FEATURE_OPTIONS}
|
||||
-DBUILD_EXAMPLES=OFF
|
||||
-DBUILD_TESTING=OFF
|
||||
-DBUILD_TOOLS=OFF
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "librabbitmq",
|
||||
"version": "0.15.0",
|
||||
"port-version": 1,
|
||||
"description": "A C-language AMQP client library for use with v2.0+ of the RabbitMQ broker.",
|
||||
"homepage": "https://github.com/alanxz/rabbitmq-c",
|
||||
"license": "MIT",
|
||||
"dependencies": [
|
||||
"openssl",
|
||||
{
|
||||
"name": "vcpkg-cmake",
|
||||
"host": true
|
||||
@@ -14,5 +14,13 @@
|
||||
"name": "vcpkg-cmake-config",
|
||||
"host": true
|
||||
}
|
||||
]
|
||||
],
|
||||
"features": {
|
||||
"ssl": {
|
||||
"description": "Enable SSL support",
|
||||
"dependencies": [
|
||||
"openssl"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5390,7 +5390,7 @@
|
||||
},
|
||||
"librabbitmq": {
|
||||
"baseline": "0.15.0",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"libraqm": {
|
||||
"baseline": "0.10.3",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "2092b884f8383c35993d4f8cc034ff642dc3c54c",
|
||||
"version": "0.15.0",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "791dbdb18f26a62c3245d8de25ff1c8291fb4074",
|
||||
"version": "0.15.0",
|
||||
|
||||
Reference in New Issue
Block a user