mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 22:31:18 -05:00
Xcode: Re-order conditions.
This commit is contained in:
@@ -2923,15 +2923,15 @@ void cmGlobalXCodeGenerator
|
||||
::AddDependAndLinkInformation(cmXCodeObject* target)
|
||||
{
|
||||
cmTarget* cmtarget = target->GetTarget();
|
||||
if(cmtarget->GetType() == cmState::INTERFACE_LIBRARY)
|
||||
{
|
||||
return;
|
||||
}
|
||||
if(!cmtarget)
|
||||
{
|
||||
cmSystemTools::Error("Error no target on xobject\n");
|
||||
return;
|
||||
}
|
||||
if(cmtarget->GetType() == cmState::INTERFACE_LIBRARY)
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Add dependencies on other CMake targets.
|
||||
cmGeneratorTarget* gt = this->GetGeneratorTarget(cmtarget);
|
||||
|
||||
Reference in New Issue
Block a user