aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Schumacher <roschuma@microsoft.com>2018-02-01 11:27:45 -0800
committerRobert Schumacher <roschuma@microsoft.com>2018-02-01 11:27:54 -0800
commit9f09d67608e9f6708def890a40816c735edd3828 (patch)
treea5ab33ead1489814f6c03c0c21516d93420a9017
parenta0648c23afd9f081bf8d88a41a6842e969f05805 (diff)
downloadvcpkg-9f09d67608e9f6708def890a40816c735edd3828.tar.gz
vcpkg-9f09d67608e9f6708def890a40816c735edd3828.zip
[flatbuffers] Fix tool location. Fixes #2704.
-rw-r--r--ports/flatbuffers/CONTROL2
-rw-r--r--ports/flatbuffers/portfile.cmake2
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/flatbuffers/CONTROL b/ports/flatbuffers/CONTROL
index a1efcdd39..b941c1188 100644
--- a/ports/flatbuffers/CONTROL
+++ b/ports/flatbuffers/CONTROL
@@ -1,4 +1,4 @@
Source: flatbuffers
-Version: 1.8.0
+Version: 1.8.0-1
Description: Memory Efficient Serialization Library http://google.github.io/flatbuffers/
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.
diff --git a/ports/flatbuffers/portfile.cmake b/ports/flatbuffers/portfile.cmake
index 2e3ab983c..7ddcee23d 100644
--- a/ports/flatbuffers/portfile.cmake
+++ b/ports/flatbuffers/portfile.cmake
@@ -40,7 +40,7 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/bin)
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/flatc.exe)
make_directory(${CURRENT_PACKAGES_DIR}/tools)
- file(RENAME ${CURRENT_PACKAGES_DIR}/bin/flatc.exe ${CURRENT_PACKAGES_DIR}/tools/flatc.exe)
+ file(RENAME ${CURRENT_PACKAGES_DIR}/bin/flatc.exe ${CURRENT_PACKAGES_DIR}/tools/flatbuffers/flatc.exe)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
endif()
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/flatbuffers.dll)