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
Type of issue
Missing information
Description
While updating some ports, I came across
vcpkg_check_linkagein theportfile.cmakefile. At first, I assumed that it had been replaced bysupportsinvcpkg.json. However, the documentation forvcpkg_check_linkagemakes it sound as ifsupportsis 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