1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2025-01-30 19:52:17 +01:00

Fix build when no SDKs are specified (for running SourceHook tests)

This commit is contained in:
Nick Hastings 2023-10-26 15:43:28 -04:00 committed by Nicholas Hastings
parent 7d7946ae4d
commit 07a479f2d5

View File

@ -87,7 +87,7 @@ class MMSConfig(object):
return True
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.find_sdk_path = self.findSdkPath
SdkHelpers.findSdks(builder, self.all_targets, sdk_list)