[CMake] How to Link in an Object file in Cmake

Ted Kord teddy.kord at gmail.com
Mon Nov 15 17:33:29 EST 2010


Hi Alex

Turned out the problem was the compiler I was using (gcc 4.5 is not
supported by Cuda on OSX). I switched compilers and  'add_executable(....
 foo.o)' works fine

Thanks.

Ted
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101115/7cea222a/attachment.htm>


More information about the CMake mailing list