Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion c_glib/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
"pkgconf"
],
"$comment": "We can update builtin-baseline by 'vcpkg x-update-baseline'",
"builtin-baseline": "09f6a4ef2f08252f7f4d924fd9c2d42165fb21c9"
"builtin-baseline": "40c89449f0ccce12d21f8a906639f6c2c649b9e7"
}
4 changes: 3 additions & 1 deletion cpp/cmake_modules/Findutf8proc.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ if(ARROW_VCPKG)
endif()
find_package(utf8proc NAMES unofficial-utf8proc ${find_package_args})
if(utf8proc_FOUND)
add_library(utf8proc::utf8proc ALIAS utf8proc)
if(NOT TARGET utf8proc::utf8proc)
add_library(utf8proc::utf8proc ALIAS utf8proc)
endif()
return()
endif()
Comment on lines 34 to 36

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Recent vcpkg's utf8proc CMake package provides utf8proc::utf8proc CMake target, right?
If so, we can remove this if block entirely. We don't need to support old vcpkg.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am trying dropping the if block entirely on the last commit. Will merge if CI is successful. Thanks @kou

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok, I got confused but I think I understand what you meant @kou !

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, sorry for my confused comment.

endif()
Expand Down
9 changes: 2 additions & 7 deletions cpp/vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,7 @@
]
},
"grpc",
{
"name": "gtest",
"features": [
"cxx17"
]
},
Comment on lines -45 to -49

@raulcd raulcd Jan 29, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't necessary anymore since:
microsoft/vcpkg@b00ff11

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually should we add cxx20?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, this was removed. There's no additional features on vcpkg anymore. You can see that on the commit above. This is how the current port file looks (no features):
https://github.com/microsoft/vcpkg/blob/master/ports/gtest/vcpkg.json

"gtest",
"lz4",
"openssl",
"orc",
Expand All @@ -62,5 +57,5 @@
"zstd"
],
"$comment": "We can update builtin-baseline by 'vcpkg x-update-baseline'",
"builtin-baseline": "09f6a4ef2f08252f7f4d924fd9c2d42165fb21c9"
"builtin-baseline": "40c89449f0ccce12d21f8a906639f6c2c649b9e7"
}
Loading