mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
IDE: setup dialog: search fpc in lazarus/fpc/fpcversion/bin/cpu-os/
git-svn-id: branches/fixes_1_6@50858 -
This commit is contained in:
parent
1a2b04d1b2
commit
98b5c0bd7d
@ -482,8 +482,12 @@ begin
|
||||
// check paths with versions
|
||||
ShortCompFile:='fpc'+ExeExt;
|
||||
|
||||
// check $(LazarusDir)\fpc\3.0.0\bin\i386-win32\fpc.exe
|
||||
if CheckFile(SetDirSeparators('$(LazarusDir)/fpc/'+GetCompiledFPCVersion+'/bin/'+GetCompiledTargetCPU+'-'+GetCompiledTargetOS+'/')+ShortCompFile,Result)
|
||||
then exit;
|
||||
|
||||
// check $(LazarusDir)\fpc\bin\i386-win32\fpc.exe
|
||||
if CheckFile(SetDirSeparators('$(LazarusDir)/fpc/bin/$(TargetCPU)-$(TargetOS)/')+ShortCompFile,Result)
|
||||
if CheckFile(SetDirSeparators('$(LazarusDir)/fpc/bin/'+GetCompiledTargetCPU+'-'+GetCompiledTargetOS+'/')+ShortCompFile,Result)
|
||||
then exit;
|
||||
|
||||
// check common directories
|
||||
|
Loading…
Reference in New Issue
Block a user