Skip to content

Commit 82abea6

Browse files
committed
Merge pull request BVLC#3217 from BonsaiAI/qualify-CUDA-status-message
[build] Qualify messages issued by CMake when CUDA is unavailable
2 parents 16de340 + a7d84f3 commit 82abea6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/Dependencies.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@ endif()
5555
include(cmake/Cuda.cmake)
5656
if(NOT HAVE_CUDA)
5757
if(CPU_ONLY)
58-
message("-- CUDA is disabled. Building without it...")
58+
message(STATUS "-- CUDA is disabled. Building without it...")
5959
else()
60-
message("-- CUDA is not detected by cmake. Building without it...")
60+
message(WARNING "-- CUDA is not detected by cmake. Building without it...")
6161
endif()
6262

6363
# TODO: remove this not cross platform define in future. Use caffe_config.h instead.

0 commit comments

Comments
 (0)