请问怎么依赖vcpkg中某个库的依赖? #4493
Unanswered
chen-qingyu
asked this question in
Q&A
Replies: 1 comment
-
目前只有使用 xmake-repo 官方仓库的包 才支持级联依赖,vcpkg 的,你只能外面自己配 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
比如我在
xmake.lua
中添加add_requires("vcpkg::osgearth")
,但是这样报错error LNK2001: unresolved external symbol xxx
,因为osgearth依赖osg,osg依赖gdal等一大堆库,其中一些库又依赖一大堆库,怎么自动依赖呢?比如只需要add_requires("vcpkg::osgearth")
然后设置某个选项就行了?Beta Was this translation helpful? Give feedback.
All reactions