mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-26 05:00:25 +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}
|
||||
|
||||
if CompilerFilename='' then begin
|
||||
UnitSetCache:=nil;
|
||||
exit;
|
||||
end;
|
||||
|
||||
UnitSetCache:=CodeToolBoss.FPCDefinesCache.FindUnitSet(
|
||||
CompilerFilename,TargetOS,TargetCPU,'',FPCSrcDir,true);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user