Xcode: Re-order conditions.
This commit is contained in:
parent
ed4ea59a33
commit
8616d12cfc
@ -2923,15 +2923,15 @@ void cmGlobalXCodeGenerator
|
|||||||
::AddDependAndLinkInformation(cmXCodeObject* target)
|
::AddDependAndLinkInformation(cmXCodeObject* target)
|
||||||
{
|
{
|
||||||
cmTarget* cmtarget = target->GetTarget();
|
cmTarget* cmtarget = target->GetTarget();
|
||||||
if(cmtarget->GetType() == cmState::INTERFACE_LIBRARY)
|
|
||||||
{
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
if(!cmtarget)
|
if(!cmtarget)
|
||||||
{
|
{
|
||||||
cmSystemTools::Error("Error no target on xobject\n");
|
cmSystemTools::Error("Error no target on xobject\n");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if(cmtarget->GetType() == cmState::INTERFACE_LIBRARY)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Add dependencies on other CMake targets.
|
// Add dependencies on other CMake targets.
|
||||||
cmGeneratorTarget* gt = this->GetGeneratorTarget(cmtarget);
|
cmGeneratorTarget* gt = this->GetGeneratorTarget(cmtarget);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user