diff options
| author | Mikhail Paulyshka <me@mixaill.tk> | 2017-03-14 04:14:37 +0300 |
|---|---|---|
| committer | Mikhail Paulyshka <me@mixaill.tk> | 2017-03-14 04:14:37 +0300 |
| commit | ebd7b7445bc53ae448cbeb010676ec726942ee51 (patch) | |
| tree | 1059d4625099db7d44dd50daf7933ee1ff863435 | |
| parent | 0038dd86bc97df8f0c528d0b9235b9bfb9400e48 (diff) | |
| download | vcpkg-ebd7b7445bc53ae448cbeb010676ec726942ee51.tar.gz vcpkg-ebd7b7445bc53ae448cbeb010676ec726942ee51.zip | |
[flatbuffers] fix flatc.exe moving
| -rw-r--r-- | ports/flatbuffers/portfile.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ports/flatbuffers/portfile.cmake b/ports/flatbuffers/portfile.cmake index 03e0e9c28..e2c05d2c0 100644 --- a/ports/flatbuffers/portfile.cmake +++ b/ports/flatbuffers/portfile.cmake @@ -37,12 +37,14 @@ vcpkg_configure_cmake( # OPTIONS_DEBUG -DDEBUGGABLE=1 ) +vcpkg_build_cmake() vcpkg_install_cmake() if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/bin) file(REMOVE_RECURSE ${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(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin) endif() |
