Hi, FindCUDA got support for new variables for the next CMake release, such as support for --target-cpu-architecture. There may be an argument for using CMAKE_C_COMPILER_TARGET for that instead. I'm not familiar at all with CUDA to know if that would conflict with other cross-compiling concepts.
Thanks, Steve. -- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers