[benchmark] Allow shared library creation, disable docs installation (#36583)

* [benchmark] allow shared library creation, disable docs installation

* add version
This commit is contained in:
Yury Bura 2024-02-12 23:57:03 +01:00 committed by GitHub
parent b69c440c1e
commit b206a2c2f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 8 additions and 4 deletions

View File

@ -1,5 +1,3 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/benchmark
@ -14,6 +12,7 @@ vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS
-DBENCHMARK_ENABLE_TESTING=OFF
-DBENCHMARK_INSTALL_DOCS=OFF
-Werror=old-style-cast
)

View File

@ -2,7 +2,7 @@
"$comment": "https://github.com/google/benchmark/issues/661 describes the missing UWP support upstream",
"name": "benchmark",
"version-semver": "1.8.3",
"port-version": 1,
"port-version": 2,
"description": "A library to support the benchmarking of functions, similar to unit-tests.",
"homepage": "https://github.com/google/benchmark",
"license": "Apache-2.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "44a03f2c85841f8e1e434e6a7f0a4ae73f7b2310",
"version-semver": "1.8.3",
"port-version": 2
},
{
"git-tree": "5e8efca95a7d5d9c74f8a2c5c2ee05bbd2271451",
"version-semver": "1.8.3",

View File

@ -566,7 +566,7 @@
},
"benchmark": {
"baseline": "1.8.3",
"port-version": 1
"port-version": 2
},
"bento4": {
"baseline": "1.6.0-641",