mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-11 13:37:45 +02:00
lazbuild: fixed compilation
git-svn-id: trunk@41531 -
This commit is contained in:
parent
5376250f7f
commit
88fd2a64e1
@ -760,8 +760,12 @@ begin
|
||||
Project1.CompilerOptions.TargetOS:=OSOverride;
|
||||
if (CPUOverride<>'') then
|
||||
Project1.CompilerOptions.TargetCPU:=CPUOverride;
|
||||
if (WidgetSetOverride<>'') then
|
||||
if (WidgetSetOverride<>'') then begin
|
||||
{$IFDEF EnableModeMacro}
|
||||
{$ELSE}
|
||||
Project1.ActiveBuildMode.MacroValues.Values['LCLWidgetType']:=WidgetSetOverride;
|
||||
{$ENDIF}
|
||||
end;
|
||||
// apply options
|
||||
MainBuildBoss.SetBuildTargetProject1(true,smsfsSkip);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user