New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve lib.detect.find_package to support vcpkg #184
Comments
find vcpkg directory: |
We can download https://github.com/tboox/xmake/releases/download/v2.2.1/xmake-v2.2.2-dev.exe and try it. |
xmake will attempt to detect the vcpkg root directory automatically if we have executed And we can also set the vcpkg directory manually. $ xmake f --vcpkg=f:\vcpkg |
Find and add package. target("test")
on_load(function (target)
import("lib.detect.find_package")
target:add(find_package("zlib"))
end) If you want to known more infomation, you can see find_package and #122 |
No description provided.
The text was updated successfully, but these errors were encountered: