[draco] Fix missing <algorithm> include (#52912)

This commit is contained in:
YunchengLiu 2026-07-16 03:58:54 +08:00 committed by GitHub
parent 39ececdd46
commit 1a13974a51
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 1 deletions

View File

@ -1,3 +1,9 @@
vcpkg_download_distfile(ALGORITHM_INCLUDE_PATCH
URLS "https://github.com/google/draco/commit/b283ba36eea52dc525ab4c9324ae6de2055d1191.patch?full_index=1"
FILENAME "draco-b283ba36eea52dc525ab4c9324ae6de2055d1191.patch"
SHA512 8dab3a74ec52b6628955c68e79cca70383ec283f0624c054ec3a29baf6455029b38aeded4ed819978f891a0192472116e7c57d3100e1bc714ec96f7e3d4be778
)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO google/draco
@ -10,6 +16,7 @@ vcpkg_from_github(
fix-pkgconfig.patch
disable-symlinks.patch
install-linkage.diff
"${ALGORITHM_INCLUDE_PATCH}"
)
if(VCPKG_TARGET_IS_EMSCRIPTEN)

View File

@ -1,6 +1,7 @@
{
"name": "draco",
"version": "1.5.7",
"port-version": 1,
"description": " A library for compressing and decompressing 3D geometric meshes and point clouds. It is intended to improve the storage and transmission of 3D graphics.",
"homepage": "https://github.com/google/draco",
"license": "Apache-2.0",

View File

@ -2634,7 +2634,7 @@
},
"draco": {
"baseline": "1.5.7",
"port-version": 0
"port-version": 1
},
"drekar-launch-process-cpp": {
"baseline": "0.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "35101cd58b1565cd39feee41a69cfc2d120642cb",
"version": "1.5.7",
"port-version": 1
},
{
"git-tree": "06799add74da6e9e4634e4c7f27b82b1149a8bb6",
"version": "1.5.7",