使用"cmake::xxx", 报错undefined reference to #2321
Unanswered
ReCodeLife
asked this question in
Q&A
Replies: 1 comment 7 replies
-
dev 上之前有部分修复,先更新到 dev 试下 xmake update -s dev 还是不行,就自己到 https://github.com/xmake-io/xmake/blob/master/xmake/modules/package/manager/cmake/find_package.lua 里面 加点 print 调下 测试命令:xmake l find_package cmake::xxx |
Beta Was this translation helpful? Give feedback.
7 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.
-
使用本机上的一个库,这个库在cmake中使用find_package就能找到,xmake使用add_requires("cmake::xxx")报错。
我是个c语言新手,希望可以得到解决的方向。
报错:
xmake.lua
正常构建的cmakelist
PrescanConfig.cmake
Beta Was this translation helpful? Give feedback.
All reactions