[libunifex]: disable build tests and examples (#31862)

* fix dependency

* gtest no longer feature

* fix deps
This commit is contained in:
Jia Yue Hua 2023-06-10 16:27:26 +08:00 committed by GitHub
parent 85c222bc31
commit 8cebe3c219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 10 deletions

View File

@ -13,8 +13,6 @@ vcpkg_from_github(
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
test BUILD_TESTING
test UNIFEX_BUILD_EXAMPLES
coroutines CXX_COROUTINES_HAVE_COROUTINES
)
@ -23,6 +21,8 @@ vcpkg_cmake_configure(
OPTIONS
${FEATURE_OPTIONS}
-DCMAKE_CXX_STANDARD:STRING=20
-DBUILD_TESTING=OFF
-DUNIFEX_BUILD_EXAMPLES=OFF
)
vcpkg_cmake_install()

View File

@ -1,7 +1,7 @@
{
"name": "libunifex",
"version-date": "2023-01-25",
"port-version": 1,
"port-version": 2,
"description": "Unified Executors",
"homepage": "https://github.com/facebookexperimental/libunifex",
"dependencies": [
@ -21,12 +21,6 @@
"features": {
"coroutines": {
"description": "Support coroutine"
},
"test": {
"description": "Build test/example programs",
"dependencies": [
"gtest"
]
}
}
}

View File

@ -4670,7 +4670,7 @@
},
"libunifex": {
"baseline": "2023-01-25",
"port-version": 1
"port-version": 2
},
"libunistring": {
"baseline": "1.1",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "4cc9469cbd38b11cc3966599bcb60c29d4dc34bc",
"version-date": "2023-01-25",
"port-version": 2
},
{
"git-tree": "f3613daa6d59dd1ebb7077c181171b9f60f21ced",
"version-date": "2023-01-25",