소스 검색

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