mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-12 06:56:10 +02:00
IDE: fixed compiler kind if project/package compiler is set
git-svn-id: trunk@60541 -
This commit is contained in:
parent
adc7b0575c
commit
4f1d217a02
@ -2860,8 +2860,10 @@ begin
|
||||
Quiet:=ConsoleVerbosity<=-3; // lazbuild -q -q, lazarus -q -q -q
|
||||
|
||||
CompilerFilename:=ParsedOpts.GetParsedValue(pcosCompilerPath);
|
||||
if CompilerFilename<>'' then
|
||||
RealCompilerFilename:=CompilerFilename
|
||||
if CompilerFilename<>'' then begin
|
||||
RealCompilerFilename:=CompilerFilename;
|
||||
Kind:=CodeToolBoss.GetPascalCompilerForDirectory(BaseDirectory);
|
||||
end
|
||||
else begin
|
||||
// use default compiler
|
||||
RealCompilerFilename:=EnvironmentOptions.GetParsedCompilerFilename;
|
||||
|
Loading…
Reference in New Issue
Block a user