diff options
author | Michael Stürmer <michael.stuermer@schaeffler.com> | 2018-04-04 06:13:30 (GMT) |
---|---|---|
committer | Michael Stürmer <michael.stuermer@schaeffler.com> | 2018-04-05 04:36:51 (GMT) |
commit | 411a22706a60fa4fe75a1a4baac84161fa72e833 (patch) | |
tree | 430a6b46ce16bb46eda293585c29aea6f29a1c68 /Source/cmGeneratorTarget.cxx | |
parent | fb433ff283e57fc953975e7a7cfb9f24dcbf789b (diff) | |
download | CMake-411a22706a60fa4fe75a1a4baac84161fa72e833.zip CMake-411a22706a60fa4fe75a1a4baac84161fa72e833.tar.gz CMake-411a22706a60fa4fe75a1a4baac84161fa72e833.tar.bz2 |
cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary()
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r-- | Source/cmGeneratorTarget.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx index 2c78db9..0cb299c 100644 --- a/Source/cmGeneratorTarget.cxx +++ b/Source/cmGeneratorTarget.cxx @@ -5432,7 +5432,10 @@ bool cmGeneratorTarget::HasImportLibrary(std::string const& config) const { return (this->IsDLLPlatform() && (this->GetType() == cmStateEnums::SHARED_LIBRARY || - this->IsExecutableWithExports())); + this->IsExecutableWithExports()) && + // Assemblies which have only managed code do not have + // import libraries. + this->GetManagedType(config) != ManagedType::Managed); } std::string cmGeneratorTarget::GetSupportDirectory() const |