mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 19:35:57 +02:00
fpmake: Use TPackage.UnitPath instead of TPackage.options(-Fu..)
git-svn-id: trunk@47236 -
This commit is contained in:
parent
33dec9455e
commit
244d8628a6
@ -4482,7 +4482,7 @@ begin
|
||||
s := s + StringToFpmakeOptionGroup(' P.Options.Add',OtherOptions);
|
||||
s := s + StringToFpmakeOptionGroup(' P.Options.Add',CustomOptions);
|
||||
s := s + StringToFpmakeOptionGroup(' P.IncludePath.Add',IncPath);
|
||||
s := s + StringToFpmakeOptionGroup(' P.Options.Add',UnitPath,'-Fu');
|
||||
s := s + StringToFpmakeOptionGroup(' P.UnitPath.Add', UnitPath);
|
||||
|
||||
s:=s+' T:=P.Targets.AddUnit('''+MainSrcFile+''');'+e;
|
||||
for i := 0 to APackage.FileCount-1 do
|
||||
|
Loading…
Reference in New Issue
Block a user