mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
cmGeneratorTarget: add handling of managed assemblies to HasImportLibrary()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user