summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-05-09 11:44:20 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-05-09 11:44:28 (GMT)
commitd3292d2d102710cb66d933dc27d72e3002d008b9 (patch)
treed64f008b95bfccbb65c1924ac602d7e07d59bf01 /Source/cmVisualStudio10TargetGenerator.cxx
parent547df3a38589afdee4335d76668bcc9d43d48843 (diff)
parent0bd1d1fcc44f4be76ee0d03d42801381a404d1c3 (diff)
downloadCMake-d3292d2d102710cb66d933dc27d72e3002d008b9.zip
CMake-d3292d2d102710cb66d933dc27d72e3002d008b9.tar.gz
CMake-d3292d2d102710cb66d933dc27d72e3002d008b9.tar.bz2
Merge topic 'vs-refactor-xml'
0bd1d1fcc4 VS: Fix regression in XML generation for CUDA Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !2053
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index d1302fe..cfdf2d8 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -663,7 +663,8 @@ void cmVisualStudio10TargetGenerator::Generate()
Elem(e1, "Import")
.Attribute("Project", "$(VCTargetsPath)\\BuildCustomizations\\CUDA " +
this->GlobalGenerator->GetPlatformToolsetCudaString() +
- ".targets");
+ ".targets")
+ .EndElement();
}
if (this->GlobalGenerator->IsMasmEnabled()) {
Elem(e1, "Import")