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 committed Oct 14, 2023
1 parent 65ef24f commit 3955c1b
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 @@ -120,10 +120,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 3955c1b

Please sign in to comment.