Skip to content

Commit

Permalink
fixed: Illegal Variables key `server-mode'
Browse files Browse the repository at this point in the history
  • Loading branch information
xLPMG committed Jan 16, 2024
1 parent 4b37175 commit f7482e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ vars.AddVariables(
'yes',
allowed_values=('yes', 'no')
),
EnumVariable( 'server-mode',
EnumVariable( 'servermode',
'starts the simulator in server mode',
'yes',
allowed_values=('yes', 'no')
Expand Down Expand Up @@ -242,7 +242,7 @@ if 'yes' in env['gui']:
if OS == "Darwin":
env.AppendUnique(FRAMEWORKS=Split('OpenGL Cocoa IOKit CoreVideo'))

if 'no' in env['server-mode']:
if 'no' in env['servermode']:
env.Append( CXXFLAGS = [ '-DNOSERVER' ] )

#####################
Expand Down

0 comments on commit f7482e6

Please sign in to comment.