[cmake-developers] [CMake 0014201]: FindCUDA does not forward include directories assigned by target_include_directories()
Mantis Bug Tracker
mantis at public.kitware.com
Tue Jun 4 10:49:39 EDT 2013
The following issue has been SUBMITTED.
======================================================================
http://www.cmake.org/Bug/view.php?id=14201
======================================================================
Reported By: Marcel Beister
Assigned To:
======================================================================
Project: CMake
Issue ID: 14201
Category: Modules
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2013-06-04 10:49 EDT
Last Modified: 2013-06-04 10:49 EDT
======================================================================
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.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2013-06-04 10:49 Marcel Beister New Issue
======================================================================
More information about the cmake-developers
mailing list