소스 검색

make sure that nvcc finds cuda headers

Cédric Augonnet 15 년 전
부모
커밋
681fcbb676
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      configure.ac

+ 1 - 0
configure.ac

@@ -128,6 +128,7 @@ if test x$enable_cuda = xyes -o x$enable_cuda = xmaybe; then
 	
 	if test -d "$cuda_dir/include/"; then
 		CPPFLAGS="${CPPFLAGS} -I$cuda_dir/include/ "
+		NVCCFLAGS="${NVCCFLAGS} -I$cuda_dir/include/ "
 	fi
 
 	# do we have a valid CUDA setup ?