summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0104/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorRaul Tambre <raul@tambre.ee>2020-06-12 16:59:32 (GMT)
committerBrad King <brad.king@kitware.com>2020-06-15 13:13:32 (GMT)
commit877a92e968bfa24d86f4b9685b5c27d4c9e6c1be (patch)
tree3c410caeece84452eff2f1ef27eb01b5b1b54f1f /Tests/RunCMake/CMP0104/RunCMakeTest.cmake
parent594fda9c234915669dbfe61bec7c59250e747b4a (diff)
downloadCMake-877a92e968bfa24d86f4b9685b5c27d4c9e6c1be.zip
CMake-877a92e968bfa24d86f4b9685b5c27d4c9e6c1be.tar.gz
CMake-877a92e968bfa24d86f4b9685b5c27d4c9e6c1be.tar.bz2
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.
Diffstat (limited to 'Tests/RunCMake/CMP0104/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMP0104/RunCMakeTest.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0104/RunCMakeTest.cmake b/Tests/RunCMake/CMP0104/RunCMakeTest.cmake
index bc8e1b1..b26f72a 100644
--- a/Tests/RunCMake/CMP0104/RunCMakeTest.cmake
+++ b/Tests/RunCMake/CMP0104/RunCMakeTest.cmake
@@ -2,4 +2,5 @@ include(RunCMake)
run_cmake(CMP0104-OLD)
run_cmake(CMP0104-NEW)
+run_cmake(CMP0104-OFF)
run_cmake(CMP0104-WARN)