View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014559CMakeCMakepublic2013-11-11 11:072016-06-10 14:31
ReporterDerek Chow 
Assigned ToJames Bigler 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
PlatformWindowsOSWindowsOS Version7/8
Product VersionCMake 2.8.11 
Target VersionFixed in Version 
Summary0014559: 0013084 fix has no backwards compatibility
DescriptionSee http://public.kitware.com/Bug/view.php?id=13084 [^]

"It is possible to add a variable which will define to use old and new behavior. By default to use old behavior."

I don't mind if the default is this new behaviour but there seems to be lacking a variable or option to set for the previous behaviour so that it is possible to optionally link with cuda.lib in CUDA_ADD_LIBRARY().
TagsNo tags attached.
Attached Files

 Relationships
related to 0013084closedJames Bigler FindCUDA is adding libcuda.so, but this is part of driver and not CUDA Runtime. 

  Notes
(0034437)
James Bigler (developer)
2013-11-12 12:37

The thing is, is that the default behavior was designed around the cuda runtime, of which cuda.lib isn't a part of. It was actually a bug to link against the driver API library to begin with. I'm not sure I want to support a buggy feature in a backward compatible way.

Note, that you can link against the driver API library easily with target_link_libraries(mytarget ${CUDA_CUDA_LIBRARY})
(0042418)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2013-11-11 11:07 Derek Chow New Issue
2013-11-12 08:53 Brad King Relationship added related to 0013084
2013-11-12 08:54 Brad King Assigned To => James Bigler
2013-11-12 08:54 Brad King Status new => assigned
2013-11-12 12:37 James Bigler Note Added: 0034437
2016-06-10 14:29 Kitware Robot Note Added: 0042418
2016-06-10 14:29 Kitware Robot Status assigned => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team