|
@@ -185,10 +185,8 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
|
|
|
enable_cuda=yes
|
|
|
], cuda_dir=/usr/local/cuda/)
|
|
|
|
|
|
- if ! test -d "$cuda_dir" && test -d "/c/cuda" ;
|
|
|
- then
|
|
|
- cuda_dir=/c/cuda
|
|
|
- fi
|
|
|
+ ! test -d "$cuda_dir" && test -d "/c/cuda" && cuda_dir=/c/cuda
|
|
|
+ ! test -d "$cuda_dir" && test -d "/cygdrive/c/cuda" && cuda_dir=/cygdrive/c/cuda
|
|
|
|
|
|
if test -d "$cuda_dir/include/"; then
|
|
|
CPPFLAGS="${CPPFLAGS} -I$cuda_dir/include/ "
|