如何在描述域参数的opt部分使用内置变量? #3971
Answered
by
FZerolight
FZerolight
asked this question in
Q&A
-
现在有一个需求是,在当前工程目录下有一个"3rdparty"文件夹,里面存放了一些cmake库,例如libSDL2。在使用add_requires加载cmake库时为了能正确搜索到依赖,想使用
想问一下在设计上这种需求该如何正确的实现? |
Beta Was this translation helpful? Give feedback.
Answered by
FZerolight
Jul 18, 2023
Replies: 1 comment 4 replies
-
先得确认 3rdparty 里面放的是 二进制库,还是源码库。。处理方式不同的。。 |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
好像非常合理……主要是想捡现成的cmake配置,包括一些宏和依赖项。现在因为出现了新需求所以我干脆直接重新写package了