aboutsummaryrefslogtreecommitdiff
path: root/ports
diff options
context:
space:
mode:
authorPark DongHa <luncliff@gmail.com>2021-03-25 04:45:42 +0900
committerGitHub <noreply@github.com>2021-03-24 12:45:42 -0700
commite37bd3f12f140b9412675af1ab8eb66cd94093d6 (patch)
tree406484ddc33923ab5b593831a7add059ee64af91 /ports
parent2de2ed68fd2b2f5c69ee3fcf2ed0daba5059be26 (diff)
downloadvcpkg-e37bd3f12f140b9412675af1ab8eb66cd94093d6.tar.gz
vcpkg-e37bd3f12f140b9412675af1ab8eb66cd94093d6.zip
[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
Diffstat (limited to 'ports')
-rw-r--r--ports/flatbuffers/CONTROL2
-rw-r--r--ports/flatbuffers/portfile.cmake4
2 files changed, 3 insertions, 3 deletions
diff --git a/ports/flatbuffers/CONTROL b/ports/flatbuffers/CONTROL
index 8f565b25f..ced25eb94 100644
--- a/ports/flatbuffers/CONTROL
+++ b/ports/flatbuffers/CONTROL
@@ -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/
diff --git a/ports/flatbuffers/portfile.cmake b/ports/flatbuffers/portfile.cmake
index 1a3c6f835..794592d98 100644
--- a/ports/flatbuffers/portfile.cmake
+++ b/ports/flatbuffers/portfile.cmake
@@ -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)