diff options
author | Aron Yu <aron.yu@gmail.com> | 2022-02-03 08:25:38 +0100 |
---|---|---|
committer | Aron Yu <aron.yu@gmail.com> | 2022-02-04 10:16:55 +0100 |
commit | feebc8394fd2aec2f4f876bab2f65879d8b1566c (patch) | |
tree | c5fb6552f1ab9a36631116d20652e9178d24011b /Source/cmGeneratorTarget.cxx | |
parent | 32afcf74afc08e4255d4c497929653d197802adc (diff) | |
download | cmake-feebc8394fd2aec2f4f876bab2f65879d8b1566c.tar.gz |
Windows: Allow manifest files to be bundled as content
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 9f1029ea26..602065a73b 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -2047,7 +2047,11 @@ void cmGeneratorTarget::ComputeKindedSources(KindedSources& files, } else if (ext == "appxmanifest") { kind = SourceKindAppManifest; } else if (ext == "manifest") { - kind = SourceKindManifest; + if (sf->GetPropertyAsBool("VS_DEPLOYMENT_CONTENT")) { + kind = SourceKindExtra; + } else { + kind = SourceKindManifest; + } } else if (ext == "pfx") { kind = SourceKindCertificate; } else if (ext == "xaml") { |