mirror of
https://github.com/microsoft/vcpkg.git
synced 2026-01-18 01:11:23 +01:00
[gflags] update to 2.3.0 (#48733)
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
diff --git a/cmake/config.cmake.in b/cmake/config.cmake.in
|
||||
index a512c2a..e7f50d0 100644
|
||||
--- a/cmake/config.cmake.in
|
||||
+++ b/cmake/config.cmake.in
|
||||
@@ -78,7 +78,7 @@ if (NOT DEFINED @PACKAGE_PREFIX@_NOTHREADS)
|
||||
else ()
|
||||
set (@PACKAGE_PREFIX@_NOTHREADS FALSE)
|
||||
endif ()
|
||||
- elseif (TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}PACKAGE_NAME@_static OR TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_shared)
|
||||
+ elseif (TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_static OR TARGET ${@PACKAGE_PREFIX@_TARGET_PREFIX}@PACKAGE_NAME@_shared)
|
||||
set (@PACKAGE_PREFIX@_NOTHREADS FALSE)
|
||||
else ()
|
||||
set (@PACKAGE_PREFIX@_NOTHREADS TRUE)
|
||||
@@ -5,12 +5,11 @@ endif()
|
||||
vcpkg_from_github(
|
||||
OUT_SOURCE_PATH SOURCE_PATH
|
||||
REPO gflags/gflags
|
||||
REF v2.2.2
|
||||
SHA512 98c4703aab24e81fe551f7831ab797fb73d0f7dfc516addb34b9ff6d0914e5fd398207889b1ae555bac039537b1d4677067dae403b64903577078d99c1bdb447
|
||||
REF v${VERSION}
|
||||
SHA512 d1e3971c2db6e0cba16fc6438213866c3e031bed73b3332ae3ca3a6e6f14fd17c8881ad8fa9716a4c468171c8d7cbd26d4049fc4af8ed4888c3a0ad913ea24da
|
||||
HEAD_REF master
|
||||
PATCHES
|
||||
0001-patch-dir.patch # gflags was estimating a wrong relative path between the gflags-config.cmake file and the include path; "../.." goes from share/gflags/ to the triplet root
|
||||
fix_cmake_config.patch
|
||||
)
|
||||
|
||||
vcpkg_cmake_configure(
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"name": "gflags",
|
||||
"version": "2.2.2",
|
||||
"port-version": 9,
|
||||
"version": "2.3.0",
|
||||
"description": "A C++ library that implements commandline flags processing",
|
||||
"homepage": "https://github.com/gflags/gflags",
|
||||
"license": "BSD-3-Clause",
|
||||
|
||||
@@ -3293,8 +3293,8 @@
|
||||
"port-version": 1
|
||||
},
|
||||
"gflags": {
|
||||
"baseline": "2.2.2",
|
||||
"port-version": 9
|
||||
"baseline": "2.3.0",
|
||||
"port-version": 0
|
||||
},
|
||||
"ggml": {
|
||||
"baseline": "2025-11-17",
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "eec33f2d7ee46b38cf2c5f46ed7f97c106c2b7ab",
|
||||
"version": "2.3.0",
|
||||
"port-version": 0
|
||||
},
|
||||
{
|
||||
"git-tree": "a5da46db14e97a98ba1469ae46d14ce80308d5a8",
|
||||
"version": "2.2.2",
|
||||
|
||||
Reference in New Issue
Block a user