diff --git a/ide/main.pp b/ide/main.pp index f6962b81c0..e84d5c6055 100644 --- a/ide/main.pp +++ b/ide/main.pp @@ -9696,8 +9696,6 @@ begin UnitOutputDirectory:=Project1.CompilerOptions.GetUnitOutPath(false); if Project1.IsVirtual and (not FilenameIsAbsolute(UnitOutputDirectory)) then UnitOutputDirectory:=TrimFilename(WorkingDir+PathDelim+UnitOutputDirectory); - - DebugLn(['TMainIDE.DoBuildProject UnitOutputDirectory=',UnitOutputDirectory]); if (FilenameIsAbsolute(UnitOutputDirectory)) and (not DirPathExistsCached(UnitOutputDirectory)) then begin if not FileIsInPath(UnitOutputDirectory,WorkingDir) then begin diff --git a/ide/project.pp b/ide/project.pp index 90e23a5dfd..bbf2ea28d1 100644 --- a/ide/project.pp +++ b/ide/project.pp @@ -5451,7 +5451,7 @@ begin // add lcl pp/pas dirs to source search path AProject.AddPackageDependency('LCL'); AProject.LazCompilerOptions.Win32GraphicApp:=true; - //AProject.LazCompilerOptions.UnitOutputDirectory:='lib/$(TargetCPU)-$(TargetOS)'; + AProject.LazCompilerOptions.UnitOutputDirectory:='lib/$(TargetCPU)-$(TargetOS)'; end; function TProjectApplicationDescriptor.CreateStartFiles(AProject: TLazProject