Fix CUDA Library detection on Linux.
This commit is contained in:
parent
8314ac076f
commit
dbfb36b812
@ -75,7 +75,7 @@ static bool isCudaDriverAvailable(uint version)
|
||||
#if NV_OS_WIN32
|
||||
Library nvcuda("nvcuda.dll");
|
||||
#else
|
||||
Library nvcuda(NV_LIBRARY_NAME("cuda"));
|
||||
Library nvcuda(NV_LIBRARY_NAME(cuda));
|
||||
#endif
|
||||
|
||||
if (!nvcuda.isValid())
|
||||
|
Loading…
Reference in New Issue
Block a user