IDE: setup dialog: search fpc in lazarus/fpc/fpcversion/bin/cpu-os/

git-svn-id: trunk@50861 -
This commit is contained in:
mattias 2015-12-17 13:43:50 +00:00
parent 6d78625622
commit 1e8a59e54a

View File

@ -483,7 +483,7 @@ begin
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)
if CheckFile(SetDirSeparators('$(LazarusDir)/fpc/'+{$I %FPCVERSION%}+'/bin/'+GetCompiledTargetCPU+'-'+GetCompiledTargetOS+'/')+ShortCompFile,Result)
then exit;
// check $(LazarusDir)\fpc\bin\i386-win32\fpc.exe