Skip to content

Commit

Permalink
Fix regression causing --sdks ambuild option to be ignored
Browse files Browse the repository at this point in the history
  • Loading branch information
psychonic authored and dvander committed Oct 15, 2023
1 parent 1dcc955 commit fd36259
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions AMBuildScript
Original file line number Diff line number Diff line change
Expand Up @@ -124,10 +124,11 @@ class MMSConfig(object):
print('Warning: hl2sdk-{} was not found, and will not be included in build.'.format(sdk))

for _, sdk in self.sdks.items():
for cxx in self.all_targets:
if not SdkHelpers.shouldBuildSdk(sdk, cxx):
continue
self.sdk_targets += [(sdk, cxx)]
if use_all or use_present or sdk.get('name', None) in sdk_list:
for cxx in self.all_targets:
if not SdkHelpers.shouldBuildSdk(sdk, cxx):
continue
self.sdk_targets += [(sdk, cxx)]

def configure(self):
builder.AddConfigureFile('pushbuild.txt')
Expand Down

0 comments on commit fd36259

Please sign in to comment.