<div dir="ltr"><div>Hello,</div><div><br></div><div>I am trying to compile a simple cuda program to an object file with "cuda_wrap_srcs" using the following CMakeLists.txt:</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">cmake_minimum_required(VERSION 3.7 FATAL_ERROR)<br>project (TEST C CXX)<br>include(FindCUDA)<br>cuda_wrap_srcs(hello OBJ hello_test <a href="http://hello-world.cu">hello-world.cu</a> OPTIONS -O3)</blockquote><div><br></div><div><b>I see the following error:Â </b><a href="https://paste.ee/p/8XaH1">https://paste.ee/p/8XaH1</a></div><div><br></div><div>I am not sure what I am missing in the call to cuda_wrap_srcs.</div><div><br></div><div>Thanks</div><div>Ajay</div><div><br></div></div>