mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-02 05:40:18 +02:00
IDE: do not scan compiler if no compiler is set
git-svn-id: trunk@29870 -
This commit is contained in:
parent
3d9abdfeb3
commit
c4abd3d658
@ -646,6 +646,11 @@ begin
|
|||||||
'']);
|
'']);
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
|
|
||||||
|
if CompilerFilename='' then begin
|
||||||
|
UnitSetCache:=nil;
|
||||||
|
exit;
|
||||||
|
end;
|
||||||
|
|
||||||
UnitSetCache:=CodeToolBoss.FPCDefinesCache.FindUnitSet(
|
UnitSetCache:=CodeToolBoss.FPCDefinesCache.FindUnitSet(
|
||||||
CompilerFilename,TargetOS,TargetCPU,'',FPCSrcDir,true);
|
CompilerFilename,TargetOS,TargetCPU,'',FPCSrcDir,true);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user