mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-30 14:29:39 +02:00
added dialog for warning if make tool not found
git-svn-id: trunk@5725 -
This commit is contained in:
parent
6da58dc740
commit
823256e659
@ -303,7 +303,13 @@ begin
|
||||
Tool.EnvironmentOverrides.Values['PP']:=CompilerPath;
|
||||
if not FileExists(Tool.Filename) then begin
|
||||
Tool.Filename:=FindDefaultMakePath;
|
||||
if not FileExists(Tool.Filename) then exit;
|
||||
if not FileExists(Tool.Filename) then begin
|
||||
MessageDlg('Make not found',
|
||||
'The program "make" was not found.'#13
|
||||
+'This tool is needed to build lazarus.'#13
|
||||
,mtError,[mbCancel],0);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
Tool.ScanOutputForFPCMessages:=true;
|
||||
Tool.ScanOutputForMakeMessages:=true;
|
||||
|
Loading…
Reference in New Issue
Block a user