From a49023961e854d2629a6a289f1b0edc5b6bf2337 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 1 Mar 2019 01:06:17 +0100 Subject: [PATCH] Enhance error message --- cmake/configure/configure_1_cuda.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmake/configure/configure_1_cuda.cmake b/cmake/configure/configure_1_cuda.cmake index 9001a94165..94c34940db 100644 --- a/cmake/configure/configure_1_cuda.cmake +++ b/cmake/configure/configure_1_cuda.cmake @@ -115,7 +115,8 @@ MACRO(FEATURE_CUDA_FIND_EXTERNAL var) ${CUDA_ADDITIONAL_ERROR_STRING} "Couldn't detect CUDA Compute Capability! " "The error message was: ${CUDA_COMPUTE_CAPABILITY}\n" - "Please check the return value of ${_binary_test_dir}/cuda_compute_capability." + "Please check the return value of ${_binary_test_dir}/cuda_compute_capability.\n" + "If you want to disable the autodetection, set the compute capability to be used manually." ) SET(${var} FALSE) ENDIF() -- 2.39.5