diff options
author | Brad King <brad.king@kitware.com> | 2018-06-20 13:46:36 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-06-20 13:46:58 (GMT) |
commit | 6a55c8c6033144c1794fc828b0d09414000c0c6d (patch) | |
tree | e9d68548d6bae0271f7a219ec7ad7ea11bb4833d /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | d1a37c25f5f30ba19a462af0cd0dde1a2a43983b (diff) | |
parent | 543b6826eefe2df5af824186c38cae5f1cdf4146 (diff) | |
download | CMake-6a55c8c6033144c1794fc828b0d09414000c0c6d.zip CMake-6a55c8c6033144c1794fc828b0d09414000c0c6d.tar.gz CMake-6a55c8c6033144c1794fc828b0d09414000c0c6d.tar.bz2 |
Merge topic 'vs-cuda-no-host-includes'
543b6826ee VS: Avoid duplication of CUDA include directories
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2158
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-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 549c8af..f934178 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; |