Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
178f4205
Commit
178f4205
authored
Sep 26, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made cmake error messages a little clearer
parent
64942d92
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
CMakeLists.txt
dlib/CMakeLists.txt
+5
-3
No files found.
dlib/CMakeLists.txt
View file @
178f4205
...
...
@@ -625,9 +625,11 @@ if (NOT TARGET dlib)
set
(
DLIB_USE_CUDA OFF CACHE STRING
${
DLIB_USE_BLAS_STR
}
FORCE
)
toggle_preprocessor_switch
(
DLIB_USE_CUDA
)
if
(
COMPILER_CAN_DO_CPP_11
)
if
(
NOT cudnn OR NOT cudnn_include OR NOT cudnn_test_compile_worked
)
message
(
STATUS
"*** cuDNN V5.0 OR GREATER NOT FOUND. DLIB WILL NOT USE CUDA. ***"
)
message
(
STATUS
"*** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder."
)
if
(
cuda_test_compile_worked
)
if
(
NOT cudnn OR NOT cudnn_include OR NOT cudnn_test_compile_worked
)
message
(
STATUS
"*** cuDNN V5.0 OR GREATER NOT FOUND. DLIB WILL NOT USE CUDA. ***"
)
message
(
STATUS
"*** If you have cuDNN then set CMAKE_PREFIX_PATH to include cuDNN's folder."
)
endif
()
endif
()
else
()
message
(
STATUS
"*** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***"
)
...
...
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