Skip to content

vcpkg_copy_tools() doesn't support macOS .app bundles #20209

@wrobelda

Description

@wrobelda

Describe the bug
Some of the ports I work with generate a complete .app bundle for some of their tools on macOS. vcpkg_copy_tools() unfortunately fails to detect it and copy to a location.

Environment

  • OS: macOS

To Reproduce
Steps to reproduce the behavior:

  1. Checkout [libalkimia] new port #20207
  2. ./vcpkg install libalkimia[tools] on macOS
CMake Error at scripts/cmake/vcpkg_copy_tools.cmake:62 (message):
  Couldn't find tool "onlinequoteseditor5":

      "/Users/cromo/Documents/Sourcecode/vcpkg/packages/libalkimia_arm64-osx/bin/onlinequoteseditor5" does not exist

Expected behavior
Bundle directory should be treated as an executable and copied as if it was a regular ELF or Windows .exe.

Metadata

Metadata

Assignees

Labels

category:tool-updateThe issue is with build tool or build script, which requires update or should be executed correctly

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions