add_links("cuda") if you want to link cuda driver library #4623
Extra-Creativity
started this conversation in
General
Replies: 1 comment
-
Both |
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.
-
add_package("cuda")
will only link against cuda runtime library; don't forget toadd_links("cuda")
if you want to use cuda driver API.This isn't a flaw of xmake; cmake doesn't link against libcuda.so/cuda.dll either.
Beta Was this translation helpful? Give feedback.
All reactions