<div dir="ltr">Hi,<div><br></div><div>The FindCUDA.cmake module since v3.0 has had a bug because it assumes that when cross compiling that CMAKE_SYSTEM_PROCESSOR will be defined. That definition is documented as optional at <a href="http://www.vtk.org/Wiki/CMake_Cross_Compiling">http://www.vtk.org/Wiki/CMake_Cross_Compiling</a>, and the module can't work if it happens to be undefined. Attached patch</div><div>wraps the uses of CMAKE_SYSTEM_PROCESSOR in quotes so that interpolation will lead to the intended behaviour in all cases.</div><div><br></div><div>I haven't filed a bug report, perĀ <a href="http://www.cmake.org/Wiki/CMake_FAQ#I_found_a_Bug.21_What_should_I_do.3F">http://www.cmake.org/Wiki/CMake_FAQ#I_found_a_Bug.21_What_should_I_do.3F</a></div><div><br></div><div>Thanks,</div><div><br></div><div>Mark</div></div>