[CMake] cuda_wrap_srcs error

Ajay Panyala ajay.panyala at gmail.com
Fri Dec 15 21:25:52 EST 2017


Hello,

I am trying to compile a simple cuda program to an object file with
"cuda_wrap_srcs" using the following CMakeLists.txt:

cmake_minimum_required(VERSION 3.7 FATAL_ERROR)
> project (TEST C CXX)
> include(FindCUDA)
> cuda_wrap_srcs(hello OBJ hello_test hello-world.cu OPTIONS -O3)


*I see the following error: *https://paste.ee/p/8XaH1

I am not sure what I am missing in the call to cuda_wrap_srcs.

Thanks
Ajay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cmake.org/pipermail/cmake/attachments/20171215/1677c38c/attachment.html>


More information about the CMake mailing list