From 6faa4ae15e372854aee542e98f06b5822b154d5a Mon Sep 17 00:00:00 2001 From: James Bigler Date: Fri, 8 Jan 2010 12:57:43 -0500 Subject: [PATCH] Changed warning string to use the WARNING flag. --- Modules/FindCUDA.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake index e9a2a3c8d..9601bc790 100644 --- a/Modules/FindCUDA.cmake +++ b/Modules/FindCUDA.cmake @@ -816,7 +816,7 @@ macro(CUDA_WRAP_SRCS cuda_target format generated_files) if(CUDA_VERSION VERSION_LESS "3.0") set(nvcc_flags ${nvcc_flags} --host-compilation C) else() - message( "WARNING: --host-compilation flag is deprecated in CUDA version >= 3.0. Removing --host-compilation C flag" ) + message(WARNING "--host-compilation flag is deprecated in CUDA version >= 3.0. Removing --host-compilation C flag" ) endif() set(CUDA_C_OR_CXX C) endif(CUDA_HOST_COMPILATION_CPP)