projects
/
platform
/
upstream
/
caffeonacl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16de340
)
Qualify messages issued by CMake when CUDA is unavailable
author
T.E.A de Souza
<tea.desouza@gmail.com>
Mon, 19 Oct 2015 10:19:38 +0000
(18:19 +0800)
committer
T.E.A de Souza
<tea.desouza@gmail.com>
Mon, 19 Oct 2015 10:19:38 +0000
(18:19 +0800)
cmake/Dependencies.cmake
patch
|
blob
|
history
diff --git
a/cmake/Dependencies.cmake
b/cmake/Dependencies.cmake
index
d68d7bf
..
2005b99
100644
(file)
--- a/
cmake/Dependencies.cmake
+++ b/
cmake/Dependencies.cmake
@@
-55,9
+55,9
@@
endif()
include(cmake/Cuda.cmake)
if(NOT HAVE_CUDA)
if(CPU_ONLY)
- message("-- CUDA is disabled. Building without it...")
+ message(
STATUS
"-- CUDA is disabled. Building without it...")
else()
- message("-- CUDA is not detected by cmake. Building without it...")
+ message(
WARNING
"-- CUDA is not detected by cmake. Building without it...")
endif()
# TODO: remove this not cross platform define in future. Use caffe_config.h instead.