summaryrefslogtreecommitdiffstats
path: root/Tests/Cuda/SeparableCompCXXOnly/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
* CMakeParseImplicitLinkInfo: Better detection of msvcRobert Maynard2022-09-021-1/+4
| | | | Use the compiler id information in addition to checking for `cl.exe`.
* CUDA: Do not device link if target has no CUDA usageRobert Maynard2020-01-091-0/+3
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