1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-02-26 19:54:14 +01:00

Fix regression causing --sdks ambuild option to be ignored

This commit is contained in:
Nick Hastings 2023-10-14 13:09:59 -04:00 committed by David Anderson
parent 1dcc95552c
commit fd36259869

View File

@ -124,10 +124,11 @@ class MMSConfig(object):
print('Warning: hl2sdk-{} was not found, and will not be included in build.'.format(sdk)) print('Warning: hl2sdk-{} was not found, and will not be included in build.'.format(sdk))
for _, sdk in self.sdks.items(): for _, sdk in self.sdks.items():
for cxx in self.all_targets: if use_all or use_present or sdk.get('name', None) in sdk_list:
if not SdkHelpers.shouldBuildSdk(sdk, cxx): for cxx in self.all_targets:
continue if not SdkHelpers.shouldBuildSdk(sdk, cxx):
self.sdk_targets += [(sdk, cxx)] continue
self.sdk_targets += [(sdk, cxx)]
def configure(self): def configure(self):
builder.AddConfigureFile('pushbuild.txt') builder.AddConfigureFile('pushbuild.txt')