Changed warning string to use the WARNING flag.

This commit is contained in:
James Bigler 2010-01-08 12:57:43 -05:00
parent 2316e04d13
commit 6faa4ae15e
1 changed files with 1 additions and 1 deletions

View File

@ -816,7 +816,7 @@ macro(CUDA_WRAP_SRCS cuda_target format generated_files)
if(CUDA_VERSION VERSION_LESS "3.0") if(CUDA_VERSION VERSION_LESS "3.0")
set(nvcc_flags ${nvcc_flags} --host-compilation C) set(nvcc_flags ${nvcc_flags} --host-compilation C)
else() 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() endif()
set(CUDA_C_OR_CXX C) set(CUDA_C_OR_CXX C)
endif(CUDA_HOST_COMPILATION_CPP) endif(CUDA_HOST_COMPILATION_CPP)