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>