Merge topic 'Fix-0011263-CUDA_SDK_PATH'

1df8516 Fix for bug 0011263.
This commit is contained in:
Brad King 2010-10-05 15:32:58 -04:00 committed by CMake Topic Stage
commit 100f2ad278
1 changed files with 3 additions and 1 deletions

View File

@ -612,8 +612,10 @@ else()
endif()
########################
# Look for the SDK stuff
# Look for the SDK stuff. As of CUDA 3.0 NVSDKCUDA_ROOT has been replaced with
# NVSDKCOMPUTE_ROOT with the old CUDA C contents moved into the C subdirectory
find_path(CUDA_SDK_ROOT_DIR common/inc/cutil.h
"$ENV{NVSDKCOMPUTE_ROOT}/C"
"$ENV{NVSDKCUDA_ROOT}"
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\NVIDIA Corporation\\Installed Products\\NVIDIA SDK 10\\Compute;InstallDir]"
"/Developer/GPU\ Computing/C"