mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-06-07 20:25:57 +08:00
[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:
parent
2de2ed68fd
commit
e37bd3f12f
@ -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/
|
||||
|
@ -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)
|
||||
|
@ -1966,7 +1966,7 @@
|
||||
},
|
||||
"flatbuffers": {
|
||||
"baseline": "1.12.0",
|
||||
"port-version": 1
|
||||
"port-version": 2
|
||||
},
|
||||
"flint": {
|
||||
"baseline": "2.5.2-4",
|
||||
|
@ -1,5 +1,10 @@
|
||||
{
|
||||
"versions": [
|
||||
{
|
||||
"git-tree": "195ffbf0b3c6abace9106115fd4ed081431a3997",
|
||||
"version-string": "1.12.0",
|
||||
"port-version": 2
|
||||
},
|
||||
{
|
||||
"git-tree": "cb19f0b4ccf3b910c2dab457cfb05f190ae092b3",
|
||||
"version-string": "1.12.0",
|
||||
|
Loading…
Reference in New Issue
Block a user