IDE: do not warn if ppu is reachable by two packages and only one has a source

git-svn-id: trunk@61607 -
This commit is contained in:
mattias 2019-07-20 09:22:03 +00:00
parent da14845df3
commit a13d2afaa0

View File

@ -901,7 +901,7 @@ var
if (PPUFile<>nil) and (OtherPPUFile<>nil)
and (CompareFilenames(PPUFile.FullFilename,OtherPPUFile.FullFilename)=0)
and (OtherFile=nil) then begin
and ((OtherFile=nil) or (SrcFile=nil)) then begin
// the same ppu is in both packages
// ... and only one package has a source
// for example: two packages share output directories