summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-11-20 14:45:52 (GMT)
committerKitware Robot <kwrobot@kitware.com>2017-11-20 14:45:58 (GMT)
commit1da5a6ea39d77a13f0ef15aa2fc0e78b452cb4ef (patch)
treea421125819a0d854923fe00980de5d736822360b /Source
parent967ba2e18055943faabf6eec39703bcad95a7551 (diff)
parent00e13993fde86d3674882aa9e63c46b4e1041462 (diff)
downloadCMake-1da5a6ea39d77a13f0ef15aa2fc0e78b452cb4ef.zip
CMake-1da5a6ea39d77a13f0ef15aa2fc0e78b452cb4ef.tar.gz
CMake-1da5a6ea39d77a13f0ef15aa2fc0e78b452cb4ef.tar.bz2
Merge topic 'cuda-sep-comp-var'
00e13993 CUDA: Add CMAKE_CUDA_SEPARABLE_COMPILATION variable Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alexander Korsunsky <a.korsunsky@gmail.com> Merge-request: !1495
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTarget.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx
index 9cf835c..bf36074 100644
--- a/Source/cmTarget.cxx
+++ b/Source/cmTarget.cxx
@@ -279,6 +279,7 @@ cmTarget::cmTarget(std::string const& name, cmStateEnums::TargetType type,
this->SetPropertyDefault("CUDA_STANDARD_REQUIRED", nullptr);
this->SetPropertyDefault("CUDA_EXTENSIONS", nullptr);
this->SetPropertyDefault("CUDA_COMPILER_LAUNCHER", nullptr);
+ this->SetPropertyDefault("CUDA_SEPARABLE_COMPILATION", nullptr);
this->SetPropertyDefault("LINK_SEARCH_START_STATIC", nullptr);
this->SetPropertyDefault("LINK_SEARCH_END_STATIC", nullptr);
}