Open richard-sim opened 2 hours ago
Why not use add_requires("zlib 1.2.11")
?
I'm trying to follow the docs exactly. :) I don't know the difference between the versions in VCPkg, and since the docs specified +10, I assumed it was important for some reason.
I'm trying to follow the docs exactly. :) I don't know the difference between the versions in VCPkg, and since the docs specified +10, I assumed it was important for some reason.
where? it's incorrect, it should be add_requires("vcpkg::zlib 1.2.11")
https://xmake.io/#/package/remote_package?id=add-vcpkg-dependency-package
Under:
After v2.6.3, xmake supports the new manifest mode of vcpkg, through which we can support version selection of vcpkg package, for example:
I have updated docs.
Xmake Version
2.9.5
Operating System Version and Architecture
Windows 11
Describe Bug
From the docs:
Results in:
Trying:
Will find and install the package in vcpkg, but xmake will fail when parsing the semver with the
#
in it.Expected Behavior
vcpkg::zlib should be able to be installed as 1.2.11#10.
Project Configuration
Additional Information and Error Logs