Fix CUDA Library detection on Linux.

This commit is contained in:
castano 2008-11-14 01:16:27 +00:00
parent 72ee072073
commit ae8616a21c

View File

@ -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())