Added more dianostic messages from cmake.

This commit is contained in:
Davis King 2019-03-08 07:32:49 -05:00
parent 663a1b7127
commit 83385e2356
1 changed files with 3 additions and 0 deletions

View File

@ -772,6 +772,9 @@ if (NOT TARGET dlib)
if (USING_OLD_VISUAL_STUDIO_COMPILER) if (USING_OLD_VISUAL_STUDIO_COMPILER)
message(STATUS "*** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***") message(STATUS "*** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***")
endif() endif()
if (NOT CUDA_FOUND)
message(STATUS "DID NOT FIND CUDA")
endif()
message(STATUS "Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA") message(STATUS "Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA")
endif() endif()
endif() endif()