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:
parent
1dcc95552c
commit
fd36259869
@ -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')
|
||||
|
Loading…
x
Reference in New Issue
Block a user