Stephen,

On 06/04/2013 10:49 AM, Mantis Bug Tracker wrote:
> http://www.cmake.org/Bug/view.php?id=14201 
> ====================================================================== 
> Summary:                    FindCUDA does not forward include directories
> assigned by target_include_directories()
> Description: 
> I switched from directory-based to target-based include directories and NVCC
> does not get the include directories assigned to the target. I assume the
> problem is, that when cuda_add_library() or cuda_add_executable() is called,
> this information is not yet available since target_include_directories() can
> only be called on an already existing target which is after the cuda_add_...()
> calls.

I think your $<TARGET_PROPERTY:INCLUDE_DIRECTORIES> generator expression
work will be useful here, no?

-Brad
--

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

Reply via email to