[cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()

Stephen Kelly steveire at gmail.com
Tue Jun 4 11:33:41 EDT 2013


Brad King wrote:

> 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()
> I think your $<TARGET_PROPERTY:INCLUDE_DIRECTORIES> generator expression
> work will be useful here, no?

I'm not familiar with CUDA, but I think you're right. 

CUDA_WRAP_SRCS reads the INCLUDE_DIRECTORIES directory property, so a commit 
similar to the qt4-macros-TARGET-arg topic would solve this bug I think.

Thanks,

Steve.




More information about the cmake-developers mailing list