Refactoring in commit 3f315dc128 (cmVisualStudio10TargetGenerator: XML refactoring, 2018-05-02) accidentally left the `<Import>` element for the CUDA build customizations unclosed.
@@ -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()) {