mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 03:29:18 -05:00
VS: Fix regression in XML generation for CUDA
Refactoring in commit 3f315dc128 (cmVisualStudio10TargetGenerator: XML
refactoring, 2018-05-02) accidentally left the `<Import>` element for
the CUDA build customizations unclosed.
This commit is contained in:
@@ -667,7 +667,8 @@ void cmVisualStudio10TargetGenerator::Generate()
|
|||||||
Elem(e1, "Import")
|
Elem(e1, "Import")
|
||||||
.Attribute("Project", "$(VCTargetsPath)\\BuildCustomizations\\CUDA " +
|
.Attribute("Project", "$(VCTargetsPath)\\BuildCustomizations\\CUDA " +
|
||||||
this->GlobalGenerator->GetPlatformToolsetCudaString() +
|
this->GlobalGenerator->GetPlatformToolsetCudaString() +
|
||||||
".targets");
|
".targets")
|
||||||
|
.EndElement();
|
||||||
}
|
}
|
||||||
if (this->GlobalGenerator->IsMasmEnabled()) {
|
if (this->GlobalGenerator->IsMasmEnabled()) {
|
||||||
Elem(e1, "Import")
|
Elem(e1, "Import")
|
||||||
|
|||||||
Reference in New Issue
Block a user