diff options
| -rw-r--r-- | ports/thrift/portfile.cmake | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ports/thrift/portfile.cmake b/ports/thrift/portfile.cmake index 5cd296c55..4322ad19a 100644 --- a/ports/thrift/portfile.cmake +++ b/ports/thrift/portfile.cmake @@ -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() |
