diff options
author | Brad King <brad.king@kitware.com> | 2018-06-20 13:45:26 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-20 13:45:26 (GMT) |
commit | ecbaed7ad6483f9a679855def48a70f1c1a43077 (patch) | |
tree | 0ca94cb25600d13e3509b492952a7d76b501b85f | |
parent | 735529f505b5200295d50b3378092f5f3b5b5606 (diff) | |
parent | 543b6826eefe2df5af824186c38cae5f1cdf4146 (diff) | |
download | CMake-ecbaed7ad6483f9a679855def48a70f1c1a43077.zip CMake-ecbaed7ad6483f9a679855def48a70f1c1a43077.tar.gz CMake-ecbaed7ad6483f9a679855def48a70f1c1a43077.tar.bz2 |
Merge branch 'vs-cuda-no-host-includes' into release-3.12
Merge-request: !2158
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 1768c57..b9ec301 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2809,6 +2809,7 @@ bool cmVisualStudio10TargetGenerator::ComputeCudaOptions( // Get includes for this target cudaOptions.AddIncludes(this->GetIncludes(configName, "CUDA")); + cudaOptions.AddFlag("UseHostInclude", "false"); this->CudaOptions[configName] = std::move(pOptions); return true; |