From 8a7eb6c4c1677cca8349ac250cd8f3c8ccdbd385 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 28 Feb 2018 03:00:29 +0100 Subject: Update CUEW to latest version Some Linux distribution have only libcuda.so.1, not libcuda.so. --- extern/cuew/src/cuew.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extern/cuew/src') diff --git a/extern/cuew/src/cuew.c b/extern/cuew/src/cuew.c index 329dfbad3aa..ad216e66452 100644 --- a/extern/cuew/src/cuew.c +++ b/extern/cuew/src/cuew.c @@ -338,7 +338,7 @@ static int cuewCudaInit(void) { /* Default installation path. */ const char *cuda_paths[] = {"/usr/local/cuda/lib/libcuda.dylib", NULL}; #else - const char *cuda_paths[] = {"libcuda.so", NULL}; + const char *cuda_paths[] = {"libcuda.so", "libcuda.so.1", NULL}; #endif static int initialized = 0; static int result = 0; -- cgit v1.2.3