mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 12:29:29 +02:00
IDE: added more verbosity for adding directory to path on win32, don't check if cpp.exe is already on the path
git-svn-id: trunk@12643 -
This commit is contained in:
parent
43cd1b77bd
commit
b80c5aa87e
@ -351,10 +351,10 @@ var
|
||||
{$ENDIF}
|
||||
CodeToolBoss.GetFPCVersionForDirectory(EnvironmentOptions.LazarusDirectory,
|
||||
FPCVersion,FPCRelease,FPCPatch);
|
||||
if (FPCVersion=2) and (FPCRelease=2) and (FPCPatch=0)
|
||||
and (FindProgram('cpp.exe', '', false)='') then
|
||||
if (FPCVersion=2) and (FPCRelease=2) and (FPCPatch=0) then
|
||||
Tool.EnvironmentOverrides.Values['PATH']:=
|
||||
ExtractFileDir(CompilerPath)+PathSep+GetProgramSearchPath();
|
||||
DebugLn(['AddCompilerDirToPath new path: ', Tool.EnvironmentOverrides.Values['PATH']]);
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user