mirror of
https://github.com/alliedmodders/metamod-source.git
synced 2025-02-07 01:54:19 +01:00
Fix build when no SDKs are specified (for running SourceHook tests)
This commit is contained in:
parent
7d7946ae4d
commit
07a479f2d5
@ -87,7 +87,7 @@ class MMSConfig(object):
|
|||||||
return True
|
return True
|
||||||
|
|
||||||
def detectSDKs(self):
|
def detectSDKs(self):
|
||||||
sdk_list = builder.options.sdks.split(',')
|
sdk_list = [s for s in builder.options.sdks.split(',') if s]
|
||||||
SdkHelpers.sdk_filter = self.shouldIncludeSdk
|
SdkHelpers.sdk_filter = self.shouldIncludeSdk
|
||||||
SdkHelpers.find_sdk_path = self.findSdkPath
|
SdkHelpers.find_sdk_path = self.findSdkPath
|
||||||
SdkHelpers.findSdks(builder, self.all_targets, sdk_list)
|
SdkHelpers.findSdks(builder, self.all_targets, sdk_list)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user