[cnats] Disable testing targets (#50380)

This commit is contained in:
Francisco Facioni 2026-03-11 01:25:27 +01:00 committed by GitHub
parent 49d093bc68
commit 3c45e20c0f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View File

@ -18,11 +18,9 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
if (VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
list(APPEND OPTIONS -DNATS_BUILD_LIB_SHARED=ON)
list(APPEND OPTIONS -DNATS_BUILD_LIB_STATIC=OFF)
list(APPEND OPTIONS -DBUILD_TESTING=OFF)
else()
list(APPEND OPTIONS -DNATS_BUILD_LIB_SHARED=OFF)
list(APPEND OPTIONS -DNATS_BUILD_LIB_STATIC=ON)
list(APPEND OPTIONS -DBUILD_TESTING=ON)
endif()
vcpkg_cmake_configure(
@ -30,6 +28,7 @@ vcpkg_cmake_configure(
OPTIONS
${FEATURE_OPTIONS}
${OPTIONS}
-DBUILD_TESTING=OFF
-DNATS_BUILD_EXAMPLES=OFF
)

View File

@ -1,7 +1,7 @@
{
"name": "cnats",
"version": "3.12.0",
"port-version": 1,
"port-version": 2,
"description": "A C client for the NATS messaging system",
"homepage": "https://github.com/nats-io/nats.c",
"license": "Apache-2.0",

View File

@ -1870,7 +1870,7 @@
},
"cnats": {
"baseline": "3.12.0",
"port-version": 1
"port-version": 2
},
"cnl": {
"baseline": "1.1.7",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c4ea79353736c06af4962a47ccdfe91f2109b04b",
"version": "3.12.0",
"port-version": 2
},
{
"git-tree": "d2930a48942dba9d125f3206d29d38374804c6f5",
"version": "3.12.0",