mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-30 02:31:08 +08:00
Merge pull request #761 from perara/patch-1
Removed flatbuffers tools directory
This commit is contained in:
commit
5397d27fb4
@ -43,8 +43,7 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/bin)
|
|||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/bin)
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/flatc.exe)
|
if(EXISTS ${CURRENT_PACKAGES_DIR}/bin/flatc.exe)
|
||||||
make_directory(${CURRENT_PACKAGES_DIR}/tools/flatbuffers)
|
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)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/bin)
|
||||||
endif()
|
endif()
|
||||||
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/flatbuffers.dll)
|
if(EXISTS ${CURRENT_PACKAGES_DIR}/lib/flatbuffers.dll)
|
||||||
@ -56,8 +55,6 @@ if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/lib/flatbuffers.dll)
|
|||||||
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/flatbuffers.dll ${CURRENT_PACKAGES_DIR}/debug/bin/flatbuffers.dll)
|
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/lib/flatbuffers.dll ${CURRENT_PACKAGES_DIR}/debug/bin/flatbuffers.dll)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/flatbuffers)
|
|
||||||
|
|
||||||
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
|
||||||
|
|
||||||
# Handle copyright
|
# Handle copyright
|
||||||
|
Loading…
Reference in New Issue
Block a user