Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1e35214d
Commit
1e35214d
authored
Oct 08, 2016
by
Davis King
Browse files
Added warning message about trying to use cuda from a 32 bit visual studio project.
parent
d4958e8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
dlib/CMakeLists.txt
dlib/CMakeLists.txt
+4
-0
No files found.
dlib/CMakeLists.txt
View file @
1e35214d
...
...
@@ -458,6 +458,10 @@ if (NOT TARGET dlib)
if
(
DLIB_USE_CUDA
)
find_package
(
CUDA 7.5
)
if
(
CUDA_FOUND AND MSVC AND NOT CUDA_CUBLAS_LIBRARIES AND
"
${
CMAKE_SIZEOF_VOID_P
}
"
EQUAL
"4"
)
message
(
WARNING
"You have CUDA installed, but we can't use it unless you put visual studio in 64bit mode."
)
set
(
CUDA_FOUND 0
)
endif
()
if
(
CUDA_FOUND AND COMPILER_CAN_DO_CPP_11
)
...
...
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