|
|
@@ -32,12 +32,13 @@ bool cmTargetPropCommandBase::HandleArguments(
|
|
|
this->HandleMissingTarget(args[0]);
|
|
|
return false;
|
|
|
}
|
|
|
- if ((this->Target->GetType() != cmStateEnums::SHARED_LIBRARY) &&
|
|
|
+ if ((this->Target->GetType() != cmStateEnums::EXECUTABLE) &&
|
|
|
(this->Target->GetType() != cmStateEnums::STATIC_LIBRARY) &&
|
|
|
- (this->Target->GetType() != cmStateEnums::OBJECT_LIBRARY) &&
|
|
|
+ (this->Target->GetType() != cmStateEnums::SHARED_LIBRARY) &&
|
|
|
(this->Target->GetType() != cmStateEnums::MODULE_LIBRARY) &&
|
|
|
+ (this->Target->GetType() != cmStateEnums::OBJECT_LIBRARY) &&
|
|
|
(this->Target->GetType() != cmStateEnums::INTERFACE_LIBRARY) &&
|
|
|
- (this->Target->GetType() != cmStateEnums::EXECUTABLE)) {
|
|
|
+ (this->Target->GetType() != cmStateEnums::UNKNOWN_LIBRARY)) {
|
|
|
this->SetError("called with non-compilable target type");
|
|
|
return false;
|
|
|
}
|