mirror of https://github.com/microsoft/vcpkg.git
[cnats] Disable testing targets (#50380)
This commit is contained in:
parent
49d093bc68
commit
3c45e20c0f
|
|
@ -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
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -1870,7 +1870,7 @@
|
|||
},
|
||||
"cnats": {
|
||||
"baseline": "3.12.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"cnl": {
|
||||
"baseline": "1.1.7",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "c4ea79353736c06af4962a47ccdfe91f2109b04b",
|
||||
"version": "3.12.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "d2930a48942dba9d125f3206d29d38374804c6f5",
|
||||
"version": "3.12.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue