Changed warning string to use the WARNING flag.
This commit is contained in:
parent
2316e04d13
commit
6faa4ae15e
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue