From 0bd1d1fcc44f4be76ee0d03d42801381a404d1c3 Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 8 May 2018 10:29:22 -0400 Subject: [PATCH] VS: Fix regression in XML generation for CUDA Refactoring in commit 3f315dc128 (cmVisualStudio10TargetGenerator: XML refactoring, 2018-05-02) accidentally left the `` element for the CUDA build customizations unclosed. --- Source/cmVisualStudio10TargetGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 7a7c6474bb..d99f0848d0 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -667,7 +667,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")