diff options
| author | Alexander Karatarakis <alex@karatarakis.com> | 2018-08-29 16:15:51 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-08-29 16:15:51 -0700 |
| commit | f8fd9c15ef10632c90245ae5cc8cbbcee8708d15 (patch) | |
| tree | bcdc1c10991fa5d64ac5d7d6fadf98c8f977e273 | |
| parent | 38c44e113fab45b0cb1c439ccf34896c5f32afaf (diff) | |
| parent | 2a2851c4197f8dfaa6b9d701678f99b59c33246c (diff) | |
| download | vcpkg-f8fd9c15ef10632c90245ae5cc8cbbcee8708d15.tar.gz vcpkg-f8fd9c15ef10632c90245ae5cc8cbbcee8708d15.zip | |
Merge pull request #4181 from markaren/thrift/copy-linux-compiler
fix thrift only copying compiler to tools on windows
| -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() |
