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:
mattias 2015-12-17 11:47:18 +00:00
parent 1a2b04d1b2
commit 98b5c0bd7d

View File

@ -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