summaryrefslogtreecommitdiff
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:21:05 +0900
committerDongHun Kwak <dh0128.kwak@samsung.com>2021-10-08 09:21:05 +0900
commit75fbd180f415adee05f2600161fffb13a2087cc2 (patch)
tree8995bf6ce07b6ad3d3d7bd84f6de5860ba9ae64f /Source/cmVisualStudio10TargetGenerator.cxx
parenta507a3358f8d68a68556804c0538424137824d93 (diff)
downloadcmake-864a5a13d6b0665d390522c6aa700c66d3d8137d.tar.gz
cmake-864a5a13d6b0665d390522c6aa700c66d3d8137d.tar.bz2
cmake-864a5a13d6b0665d390522c6aa700c66d3d8137d.zip
Imported Upstream version 3.21.3upstream/3.21.3
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index bda2f914d..97cb1bf14 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -581,6 +581,10 @@ void cmVisualStudio10TargetGenerator::Generate()
}
if (this->Managed) {
+ if (this->LocalGenerator->GetVersion() >=
+ cmGlobalVisualStudioGenerator::VS17) {
+ e1.Element("ManagedAssembly", "true");
+ }
std::string outputType;
switch (this->GeneratorTarget->GetType()) {
case cmStateEnums::OBJECT_LIBRARY: