diff options
author | Brad King <brad.king@kitware.com> | 2013-03-12 17:46:13 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-03-12 17:46:13 (GMT) |
commit | f0e93ce0e5a955e762400ab9da2eeadd7d37f239 (patch) | |
tree | 7e9cb10a3ff665f70658a4a2e1a531812f2f86df /Modules/FindCUDA.cmake | |
parent | ff6038057b0996fc89483e44026cd6bf37b8773b (diff) | |
parent | 3497bc2ceee67645ecd2d8966c9ae3574f8b911c (diff) | |
download | CMake-f0e93ce0e5a955e762400ab9da2eeadd7d37f239.zip CMake-f0e93ce0e5a955e762400ab9da2eeadd7d37f239.tar.gz CMake-f0e93ce0e5a955e762400ab9da2eeadd7d37f239.tar.bz2 |
Merge topic 'FindCUDA.cmake/DontLinkAgainstCUDADriver'
3497bc2 FindCUDA: Remove linkage against CUDA driver library (#13084)
Diffstat (limited to 'Modules/FindCUDA.cmake')
-rw-r--r-- | Modules/FindCUDA.cmake | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake index 5a834b1..c17a360 100644 --- a/Modules/FindCUDA.cmake +++ b/Modules/FindCUDA.cmake @@ -605,11 +605,6 @@ endif() # some platforms. find_library_local_first(CUDA_CUDA_LIBRARY cuda "\"cuda\" library (older versions only).") -# Add cuda library to the link line only if it is found. -if (CUDA_CUDA_LIBRARY) - set(CUDA_LIBRARIES ${CUDA_LIBRARIES} ${CUDA_CUDA_LIBRARY}) -endif() - mark_as_advanced( CUDA_CUDA_LIBRARY CUDA_CUDART_LIBRARY |