mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 19:17:10 +01:00
Merge pull request #4181 from markaren/thrift/copy-linux-compiler
fix thrift only copying compiler to tools on windows
This commit is contained in:
commit
f8fd9c15ef
@ -42,10 +42,10 @@ vcpkg_install_cmake()
|
||||
|
||||
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/thrift RENAME copyright)
|
||||
|
||||
file(GLOB EXES "${CURRENT_PACKAGES_DIR}/bin/*.exe")
|
||||
if(EXES)
|
||||
file(COPY ${EXES} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/thrift)
|
||||
file(REMOVE ${EXES})
|
||||
file(GLOB COMPILER "${CURRENT_PACKAGES_DIR}/bin/thrift*")
|
||||
if(COMPILER)
|
||||
file(COPY ${COMPILER} DESTINATION ${CURRENT_PACKAGES_DIR}/tools/thrift)
|
||||
file(REMOVE ${COMPILER})
|
||||
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/thrift)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user