mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-12-11 03:27:32 +01:00
IDE: fixed GetAllRequiredPackages for a package
git-svn-id: trunk@40301 -
This commit is contained in:
parent
1ddc559182
commit
3b990d50da
@ -1,4 +1,3 @@
|
||||
{ $Id$ }
|
||||
{
|
||||
*****************************************************************************
|
||||
* *
|
||||
|
||||
@ -5234,6 +5234,10 @@ var
|
||||
begin
|
||||
List:=nil;
|
||||
MarkAllPackagesAsNotVisited;
|
||||
if APackage<>nil then begin
|
||||
FirstDependency:=APackage.FirstRequiredDependency;
|
||||
APackage.Flags:=APackage.Flags+[lpfVisited];
|
||||
end;
|
||||
// create topological list, beginning with the leaves
|
||||
GetTopologicalOrder(FirstDependency,DepLevel);
|
||||
if not (pirCompileOrder in Flags) then begin
|
||||
|
||||
Loading…
Reference in New Issue
Block a user