diff options
author | Brad King <brad.king@kitware.com> | 2020-05-22 11:38:42 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-05-22 12:15:38 (GMT) |
commit | 23519dd24fc3f6c1c0f80fd57aa99fea1d869962 (patch) | |
tree | 1c192d1ac4cab528056dbf3972e0ff0d5d61cabf /Modules/CMakeDetermineCUDACompiler.cmake | |
parent | 16bed00712a01371fd0d871ca8ce786381f457cb (diff) | |
download | CMake-23519dd24fc3f6c1c0f80fd57aa99fea1d869962.zip CMake-23519dd24fc3f6c1c0f80fd57aa99fea1d869962.tar.gz CMake-23519dd24fc3f6c1c0f80fd57aa99fea1d869962.tar.bz2 |
CUDA: Fix implicit runtime library filtering on Windows
The CUDA runtime library names may have a `.lib` suffix.
Exclude those too.
Diffstat (limited to 'Modules/CMakeDetermineCUDACompiler.cmake')
-rw-r--r-- | Modules/CMakeDetermineCUDACompiler.cmake | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/CMakeDetermineCUDACompiler.cmake b/Modules/CMakeDetermineCUDACompiler.cmake index 2fc7a82..f115daa 100644 --- a/Modules/CMakeDetermineCUDACompiler.cmake +++ b/Modules/CMakeDetermineCUDACompiler.cmake @@ -276,9 +276,9 @@ endif() # and from CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES in CMakeTestCUDACompiler. set(CMAKE_CUDA_IMPLICIT_LINK_LIBRARIES_EXCLUDE # The CUDA runtime libraries are controlled by CMAKE_CUDA_RUNTIME_LIBRARY. - cudart - cudart_static - cudadevrt + cudart cudart.lib + cudart_static cudart_static.lib + cudadevrt cudadevrt.lib # Dependencies of the CUDA static runtime library on Linux hosts. rt |