mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-11 16:32:14 -06: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")
|
||||
.Attribute("Project", "$(VCTargetsPath)\\BuildCustomizations\\CUDA " +
|
||||
this->GlobalGenerator->GetPlatformToolsetCudaString() +
|
||||
".targets");
|
||||
".targets")
|
||||
.EndElement();
|
||||
}
|
||||
if (this->GlobalGenerator->IsMasmEnabled()) {
|
||||
Elem(e1, "Import")
|
||||
|
||||
Reference in New Issue
Block a user