mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
877a92e968
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.
4 lines
89 B
CMake
4 lines
89 B
CMake
include(CMP0104-Common.cmake)
|
|
|
|
set_property(TARGET cuda PROPERTY CUDA_ARCHITECTURES OFF)
|