瀏覽代碼

configure: Fix the default executable search path for CUDA.

Ludovic Courtès 14 年之前
父節點
當前提交
c687a349e9
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

@@ -380,7 +380,7 @@ if test x$enable_cuda = xyes; then
 	fi
 
 	AC_PATH_PROG([NVCC], [nvcc], [not-found],
-	  [$cuda_dir/bin:$PATH:/usr/local/bin:/usr/bin:/bin])
+	  [$cuda_dir/bin:$PATH:/usr/local/cuda/bin:/usr/bin:/bin])
 	if test "x$NVCC" = "xnot-found"; then
 	   AC_MSG_WARN([`nvcc' not found, disabling CUDA])
 	   enable_cuda=no