Skip to content

Commit

Permalink
[flatbuffers] Fix config filename when crosscompiling (#29953)
Browse files Browse the repository at this point in the history
  • Loading branch information
Eisenheim9 committed Mar 2, 2023
1 parent c7e4edf commit 7074f8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ports/flatbuffers/portfile.cmake
Expand Up @@ -35,7 +35,7 @@ file(GLOB flatc_path ${CURRENT_PACKAGES_DIR}/bin/flatc*)
if(flatc_path)
vcpkg_copy_tools(TOOL_NAMES flatc AUTO_CLEAN)
else()
file(APPEND "${CURRENT_PACKAGES_DIR}/share/flatbuffers/Flatbuffers-config.cmake"
file(APPEND "${CURRENT_PACKAGES_DIR}/share/flatbuffers/flatbuffers-config.cmake"
"include(\"\${CMAKE_CURRENT_LIST_DIR}/../../../${HOST_TRIPLET}/share/flatbuffers/FlatcTargets.cmake\")\n")
endif()

Expand Down
1 change: 1 addition & 0 deletions ports/flatbuffers/vcpkg.json
@@ -1,6 +1,7 @@
{
"name": "flatbuffers",
"version": "23.1.21",
"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."
Expand Down
2 changes: 1 addition & 1 deletion versions/baseline.json
Expand Up @@ -2454,7 +2454,7 @@
},
"flatbuffers": {
"baseline": "23.1.21",
"port-version": 0
"port-version": 1
},
"flecs": {
"baseline": "3.1.4",
Expand Down
5 changes: 5 additions & 0 deletions versions/f-/flatbuffers.json
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "c8dd8a45a079d9ec27da5352d1d61eb24ff94f5d",
"version": "23.1.21",
"port-version": 1
},
{
"git-tree": "a982b9c31851fcc6ac96cfc1a05fc44144ef1512",
"version": "23.1.21",
Expand Down

0 comments on commit 7074f8d

Please sign in to comment.