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")