mirror of
https://github.com/reactos/CMake.git
synced 2024-11-27 21:41:03 +00:00
Merge topic 'FindCUDA.cmake/DontLinkAgainstCUDADriver'
3497bc2
FindCUDA: Remove linkage against CUDA driver library (#13084)
This commit is contained in:
commit
f0e93ce0e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user