Files
CMake/Tests/RunCMake/CMP0104/RunCMakeTest.cmake
Raul Tambre 877a92e968 CUDA: Add support for disabling CUDA_ARCHITECTURES
The ability to disable adding architectures completely for packaging purposes
and cases requiring passing the architectures flags explicitly has been
requested.
Support a false value for CUDA_ARCHITECTURES and CMAKE_CUDA_ARCHITECTURES
for this purpose.

Implements #20821.
2020-06-15 09:13:32 -04:00

7 lines
112 B
CMake

include(RunCMake)
run_cmake(CMP0104-OLD)
run_cmake(CMP0104-NEW)
run_cmake(CMP0104-OFF)
run_cmake(CMP0104-WARN)