From 2a2851c4197f8dfaa6b9d701678f99b59c33246c Mon Sep 17 00:00:00 2001 From: Lars Ivar Hatledal Date: Wed, 29 Aug 2018 10:15:48 +0200 Subject: fix thrift only copying compiler to tools on windows --- ports/thrift/portfile.cmake | 8 ++++---- 1 file 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() -- cgit v1.2.3