mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 04:37:54 +02:00
ide: fixed compile on windows
This commit is contained in:
parent
daf7767a51
commit
d9a0b39c50
@ -143,6 +143,7 @@ implementation
|
||||
var
|
||||
DefaultFPCVersion: string;
|
||||
DefaultFPCTarget: string;
|
||||
DefaultDrive: string;
|
||||
{$ENDIF}
|
||||
|
||||
function CheckLazarusDirectoryQuality(ADirectory: string;
|
||||
@ -1158,6 +1159,7 @@ initialization
|
||||
{$IFDEF MSWindows}
|
||||
DefaultFPCTarget:= GetCompiledTargetCPU + '-' + GetCompiledTargetOS;
|
||||
DefaultFPCVersion:= {$I %FPCVERSION%};
|
||||
DefaultDrive := ExtractFileDrive(ProgramDirectory);
|
||||
{$ENDIF}
|
||||
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user