IDE: fall back package output directory: set dir separators

git-svn-id: trunk@37023 -
This commit is contained in:
mattias 2012-04-25 16:45:00 +00:00
parent b47c4e7481
commit d853ab2e28

View File

@ -3959,7 +3959,7 @@ begin
// use the default output directory, if it is relative
// (this way the fallback creates the same amount of target directories)
Dir:=APackage.CompilerOptions.ParsedOpts.Values[pcosOutputDir].UnparsedValue;
Dir:=APackage.SubstitutePkgMacros(Dir,false);
Dir:=SetDirSeparators(APackage.SubstitutePkgMacros(Dir,false));
if FilenameIsAbsolute(Dir) then begin
// it is not relative => create a default one
Dir:='$(TargetOS)-$(TargetCPU)';