зеркало из https://github.com/microsoft/caffe.git
Qualify messages issued by CMake when CUDA is unavailable
This commit is contained in:
Родитель
16de3407a5
Коммит
a7d84f3c7e
|
@ -55,9 +55,9 @@ endif()
|
||||||
include(cmake/Cuda.cmake)
|
include(cmake/Cuda.cmake)
|
||||||
if(NOT HAVE_CUDA)
|
if(NOT HAVE_CUDA)
|
||||||
if(CPU_ONLY)
|
if(CPU_ONLY)
|
||||||
message("-- CUDA is disabled. Building without it...")
|
message(STATUS "-- CUDA is disabled. Building without it...")
|
||||||
else()
|
else()
|
||||||
message("-- CUDA is not detected by cmake. Building without it...")
|
message(WARNING "-- CUDA is not detected by cmake. Building without it...")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# TODO: remove this not cross platform define in future. Use caffe_config.h instead.
|
# TODO: remove this not cross platform define in future. Use caffe_config.h instead.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче