From 83385e235666b3f13e7f0ac801e52a6cddf4969c Mon Sep 17 00:00:00 2001 From: Davis King Date: Fri, 8 Mar 2019 07:32:49 -0500 Subject: [PATCH] Added more dianostic messages from cmake. --- dlib/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlib/CMakeLists.txt b/dlib/CMakeLists.txt index 925d291f7..6448630bc 100644 --- a/dlib/CMakeLists.txt +++ b/dlib/CMakeLists.txt @@ -772,6 +772,9 @@ if (NOT TARGET dlib) if (USING_OLD_VISUAL_STUDIO_COMPILER) message(STATUS "*** Dlib CUDA support requires C++11 but your compiler doesn't support it. ***") endif() + if (NOT CUDA_FOUND) + message(STATUS "DID NOT FIND CUDA") + endif() message(STATUS "Disabling CUDA support for dlib. DLIB WILL NOT USE CUDA") endif() endif()