CMake/Tests/Cuda
Robert Maynard a4d502a5bf CUDA: Do not device link if CUDA is not an enabled language
Checks added in commit 81b4d10d8f (CUDA: More exhaustive checks to
determine when to do device linking, 2019-05-09, v3.15.0-rc1~82^2)
assumed that CUDA properties would be set only if CUDA is enabled.

We cannot do a device link step if we do not have the CUDA language
enabled.  This was discovered as some projects unconditionally set CUDA
properties such as `CUDA_RESOLVE_DEVICE_SYMBOLS` even when the CUDA
language has not been enabled.

Fixes: #19432
2019-07-01 08:29:10 -04:00
..
Complex Tests: Fix Cuda test project names 2018-10-10 13:29:47 -04:00
ConsumeCompileFeatures Tests: Fix Cuda test project names 2018-10-10 13:29:47 -04:00
MixedStandardLevels Tests: Fix Cuda test project names 2018-10-10 13:29:47 -04:00
NotEnabled CUDA: Do not device link if CUDA is not an enabled language 2019-07-01 08:29:10 -04:00
ObjectLibrary Tests: Fix Cuda test project names 2018-10-10 13:29:47 -04:00
ProperDeviceLibraries CUDA: Add test for device linking when host linking uses threads 2018-10-24 10:15:48 -04:00
ProperLinkFlags CUDA: Fix test cases to not override CUDA flags 2017-02-15 11:12:09 -05:00
ToolkitInclude
WithC Tests: Fix Cuda test project names 2018-10-10 13:29:47 -04:00
CMakeLists.txt CUDA: Do not device link if CUDA is not an enabled language 2019-07-01 08:29:10 -04:00