Notes |
|
(0038249)
|
Axel Huebl
|
2015-03-18 17:46
|
|
hi, any are there planned updates on that issue? :) |
|
|
(0038250)
|
James Bigler
|
2015-03-18 18:09
|
|
Since FindCUDA uses the get_directory_property(INCLUDE_DIRECTORIES) command, I'm not sure how to tell the difference between includes that are system paths and ones that are not. So far as I can tell the results from this command are only paths (no additional meta-data is associated with them). All calls to include_directories() are equal. |
|
|
(0038251)
|
Axel Huebl
|
2015-03-18 18:15
|
|
Agreed, that is the problem that I found in the code linked above, too.
Is it possible that we need a (new) method in cmake itself that allows us to read/restore such meta-attributes for the individual directories? |
|
|
(0038252)
|
James Bigler
|
2015-03-18 18:19
|
|
That might be possible, but adding additional information about the type of path would have to be brought up with the full CMake team and is beyond the scope of this bug. If such a feature was implemented, then FindCUDA could probably make use of it. |
|
|
(0038253)
|
Axel Huebl
|
2015-03-18 18:25
|
|
that sounds like a plan, shall we open a corresponding new issue for that? |
|
|
(0038254)
|
James Bigler
|
2015-03-18 18:26
|
|
Yeah, you should open a new bug for that. I'm going to close this bug as "not a bug" for now. |
|
|
(0038255)
|
James Bigler
|
2015-03-18 18:28
|
|
Can't implement this feature until there is a way to tell the difference between system paths and not. |
|