diff options
author | Brad King <brad.king@kitware.com> | 2018-05-08 14:29:22 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-05-08 14:29:22 (GMT) |
commit | 0bd1d1fcc44f4be76ee0d03d42801381a404d1c3 (patch) | |
tree | 6eb7802a45998250bcf6a9209c5d2b4ee98a161a /Source/cmVisualStudio10TargetGenerator.cxx | |
parent | 3f315dc12878232f3f250d6f3c9959bee932941f (diff) | |
download | CMake-0bd1d1fcc44f4be76ee0d03d42801381a404d1c3.zip CMake-0bd1d1fcc44f4be76ee0d03d42801381a404d1c3.tar.gz CMake-0bd1d1fcc44f4be76ee0d03d42801381a404d1c3.tar.bz2 |
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.
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 7a7c647..d99f084 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") |