Files
CMake/Tests/RunCMake/CMP0104/CMP0104-OFF.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

4 lines
89 B
CMake

include(CMP0104-Common.cmake)
set_property(TARGET cuda PROPERTY CUDA_ARCHITECTURES OFF)