Skip to content

Commit

Permalink
Merge pull request BVLC#3217 from BonsaiAI/qualify-CUDA-status-message
Browse files Browse the repository at this point in the history
[build] Qualify messages issued by CMake when CUDA is unavailable
  • Loading branch information
shelhamer committed Oct 19, 2015
2 parents 16de340 + a7d84f3 commit 82abea6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmake/Dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 82abea6

Please sign in to comment.