Skip to content

Clearify vcpkg_check_linkage vs supports #551

@SunBlack

Description

@SunBlack

Type of issue

Missing information

Description

While updating some ports, I came across vcpkg_check_linkage in the portfile.cmake file. At first, I assumed that it had been replaced by supports in vcpkg.json. However, the documentation for vcpkg_check_linkage makes it sound as if supports is only an addition. I think it would be good if both documentations clearly stated when to use which one.

Page URL

https://learn.microsoft.com/en-us/vcpkg/reference/vcpkg-json#supports

Content source URL

https://github.com/MicrosoftDocs/vcpkg-docs/blob/main/vcpkg/reference/vcpkg-json.md

Document Version Independent Id

c9908f8f-fc4a-6ba6-65a0-c4f16fc1621d

Platform Id

0820403e-fc79-ac36-0384-23406cf90ddb

Article author

@vicroms

Metadata

  • ID: c9908f8f-fc4a-6ba6-65a0-c4f16fc1621d
  • PlatformId: 0820403e-fc79-ac36-0384-23406cf90ddb
  • Service: vcpkg

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions