diff options
author | Brad King <brad.king@kitware.com> | 2020-06-15 13:24:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2020-06-15 13:24:37 (GMT) |
commit | a3881d6313776aaf4c1d92b68c5064c9ac5cdcd3 (patch) | |
tree | adb21432320e821b6afc262d818ed4bc0b19c7fa /Tests/RunCMake | |
parent | 9fb67f690be915a13cd70b5af71f640660f0b2ab (diff) | |
parent | 877a92e968bfa24d86f4b9685b5c27d4c9e6c1be (diff) | |
download | CMake-a3881d6313776aaf4c1d92b68c5064c9ac5cdcd3.zip CMake-a3881d6313776aaf4c1d92b68c5064c9ac5cdcd3.tar.gz CMake-a3881d6313776aaf4c1d92b68c5064c9ac5cdcd3.tar.bz2 |
Merge topic 'cuda_architectures_disable' into release-3.18
877a92e968 CUDA: Add support for disabling CUDA_ARCHITECTURES
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !4886
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r-- | Tests/RunCMake/CMP0104/CMP0104-OFF.cmake | 3 | ||||
-rw-r--r-- | Tests/RunCMake/CMP0104/RunCMakeTest.cmake | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0104/CMP0104-OFF.cmake b/Tests/RunCMake/CMP0104/CMP0104-OFF.cmake new file mode 100644 index 0000000..f3b6682 --- /dev/null +++ b/Tests/RunCMake/CMP0104/CMP0104-OFF.cmake @@ -0,0 +1,3 @@ +include(CMP0104-Common.cmake) + +set_property(TARGET cuda PROPERTY CUDA_ARCHITECTURES OFF) 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) |