[Bf-blender-cvs] [8a7eb6c4c16] master: Update CUEW to latest version
Brecht Van Lommel
noreply at git.blender.org
Wed Feb 28 03:03:28 CET 2018
Commit: 8a7eb6c4c1677cca8349ac250cd8f3c8ccdbd385
Author: Brecht Van Lommel
Date: Wed Feb 28 03:00:29 2018 +0100
Branches: master
https://developer.blender.org/rB8a7eb6c4c1677cca8349ac250cd8f3c8ccdbd385
Update CUEW to latest version
Some Linux distribution have only libcuda.so.1, not libcuda.so.
===================================================================
M extern/cuew/src/cuew.c
===================================================================
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;
More information about the Bf-blender-cvs
mailing list