[flatbuffers] support iOS triplets (#16843)

* [flatbuffers] exclude 'flatc' for ios triplets

* building flatc requires BUNDLE DESTINATION
* increase port version

* [flatbuffers] increase port version

* [flatbuffers] fix git-tree SHA
This commit is contained in:
Park DongHa 2021-03-25 04:45:42 +09:00 committed by GitHub
parent 2de2ed68fd
commit e37bd3f12f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 9 additions and 4 deletions

View File

@ -1,6 +1,6 @@
Source: flatbuffers
Version: 1.12.0
Port-Version: 1
Port-Version: 2
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.
Homepage: https://google.github.io/flatbuffers/

View File

@ -15,7 +15,7 @@ vcpkg_from_github(
)
set(OPTIONS)
if(VCPKG_TARGET_IS_UWP)
if(VCPKG_TARGET_IS_UWP OR VCPKG_TARGET_IS_IOS)
list(APPEND OPTIONS -DFLATBUFFERS_BUILD_FLATC=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF)
endif()
@ -40,7 +40,7 @@ if(flatc_path)
${flatc_path}
${CURRENT_PACKAGES_DIR}/tools/flatbuffers/${flatc_executable}
)
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/flatbuffers)
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/flatbuffers)
endif()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

View File

@ -1966,7 +1966,7 @@
},
"flatbuffers": {
"baseline": "1.12.0",
"port-version": 1
"port-version": 2
},
"flint": {
"baseline": "2.5.2-4",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "195ffbf0b3c6abace9106115fd4ed081431a3997",
"version-string": "1.12.0",
"port-version": 2
},
{
"git-tree": "cb19f0b4ccf3b910c2dab457cfb05f190ae092b3",
"version-string": "1.12.0",