mirror of https://github.com/microsoft/vcpkg.git
[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:
parent
e461f6dc35
commit
81d08b03fa
|
|
@ -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(
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
|
|
|
|||
|
|
@ -2346,7 +2346,7 @@
|
|||
},
|
||||
"flatbuffers": {
|
||||
"baseline": "22.10.26",
|
||||
"port-version": 0
|
||||
"port-version": 1
|
||||
},
|
||||
"flecs": {
|
||||
"baseline": "3.1.0",
|
||||
|
|
|
|||
|
|
@ -1,5 +1,10 @@
|
|||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "fe5da09bde98af97c3c3edf1d70f4d986629fdb9",
|
||||
"version": "22.10.26",
|
||||
"port-version": 1
|
||||
},
|
||||
{
|
||||
"git-tree": "10986755c27e0640b243331ef23716d3dcbdcba9",
|
||||
"version": "22.10.26",
|
||||
|
|
|
|||
Loading…
Reference in New Issue