[flatbuffers] support iOS build (#27863)

* [flatbuffers] support iOS build

* [flatbuffers] update baseline

* [flatbuffers] use vcpkg_copy_tools

* rebase and resolve conflict

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
This commit is contained in:
Park DongHa 2022-11-19 05:59:06 +09:00 committed by GitHub
parent e461f6dc35
commit 81d08b03fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 1 deletions

View File

@ -13,6 +13,10 @@ vcpkg_from_github(
set(options "")
if(VCPKG_CROSSCOMPILING)
list(APPEND options -DFLATBUFFERS_BUILD_FLATC=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF)
if(VCPKG_TARGET_IS_OSX OR VCPKG_TARGET_IS_IOS)
# The option may cause "#error Unsupported architecture"
list(APPEND options -DFLATBUFFERS_OSX_BUILD_UNIVERSAL=OFF)
endif()
endif()
vcpkg_cmake_configure(

View File

@ -1,6 +1,7 @@
{
"name": "flatbuffers",
"version": "22.10.26",
"port-version": 1,
"description": [
"Memory Efficient Serialization Library",
"FlatBuffers is an efficient cross platform serialization library for games and other memory constrained apps. It allows you to directly access serialized data without unpacking/parsing it first, while still having great forwards/backwards compatibility."

View File

@ -2346,7 +2346,7 @@
},
"flatbuffers": {
"baseline": "22.10.26",
"port-version": 0
"port-version": 1
},
"flecs": {
"baseline": "3.1.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "fe5da09bde98af97c3c3edf1d70f4d986629fdb9",
"version": "22.10.26",
"port-version": 1
},
{
"git-tree": "10986755c27e0640b243331ef23716d3dcbdcba9",
"version": "22.10.26",