summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-16 15:11:06 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-16 15:11:33 (GMT)
commit7e8df1bb24dcde30d1baafb23f6ab26352e67763 (patch)
treea3e3cf4c3b11924100f3a0235033b980faefae0d /Source/cmTarget.cxx
parent854cc83a76a021301c49ae27cbd8924a2b5c97a5 (diff)
parent21131ca60cd37cdd306c10781df254e261f27c8a (diff)
downloadCMake-7e8df1bb24dcde30d1baafb23f6ab26352e67763.zip
CMake-7e8df1bb24dcde30d1baafb23f6ab26352e67763.tar.gz
CMake-7e8df1bb24dcde30d1baafb23f6ab26352e67763.tar.bz2
Merge topic 'cuda_architectures'
21131ca60c CUDA: Add CudaOnly.CompileFlags test f0931b0790 CUDA: Convert tests to use CUDA_ARCHITECTURES e98588aaba CUDA: Add CUDA_ARCHITECTURES target property Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Patrick Stotko <stotko@cs.uni-bonn.de> Merge-request: !4568
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 0c4311d..955a5cc 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -363,6 +363,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
initProp("CUDA_SEPARABLE_COMPILATION");
initProp("CUDA_RESOLVE_DEVICE_SYMBOLS");
initProp("CUDA_RUNTIME_LIBRARY");
+ initProp("CUDA_ARCHITECTURES");
initProp("LINK_SEARCH_START_STATIC");
initProp("LINK_SEARCH_END_STATIC");
initProp("Swift_LANGUAGE_VERSION");