mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
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)
|