Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
1df8516c
Commit
1df8516c
authored
Oct 04, 2010
by
James Bigler
Browse files
Fix for bug 0011263.
Added CUSDKCOMPUTE_ROOT to the list of paths when looking for CUDA_SDK_ROOT_DIR.
parent
5eca3dd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Modules/FindCUDA.cmake
View file @
1df8516c
...
@@ -612,8 +612,10 @@ else()
...
@@ -612,8 +612,10 @@ else()
endif
()
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
find_path
(
CUDA_SDK_ROOT_DIR common/inc/cutil.h
"$ENV{NVSDKCOMPUTE_ROOT}/C"
"$ENV{NVSDKCUDA_ROOT}"
"$ENV{NVSDKCUDA_ROOT}"
"[HKEY_LOCAL_MACHINE
\\
SOFTWARE
\\
NVIDIA Corporation
\\
Installed Products
\\
NVIDIA SDK 10
\\
Compute;InstallDir]"
"[HKEY_LOCAL_MACHINE
\\
SOFTWARE
\\
NVIDIA Corporation
\\
Installed Products
\\
NVIDIA SDK 10
\\
Compute;InstallDir]"
"/Developer/GPU
\
Computing/C"
"/Developer/GPU
\
Computing/C"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment