mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-25 15:49:08 -05:00
071c4f1a2a
When CUDA is enabled, and a pure non-CUDA target has CMAKE_CUDA_SEPARABLE_COMPILATION enabled, don't actually perform the device linking step, as it will fail. A target that has CMAKE_CUDA_SEPARABLE_COMPILATION enabled must also have CUDA usage (either itself, or something it links to). Fixes: #20182
47 B
47 B