Fix builder.target usage.
This commit is contained in:
parent
104b6b878a
commit
d48cf93a94
@ -177,8 +177,7 @@ class SMConfig(object):
|
|||||||
self.sdks[sdk_name] = sdk
|
self.sdks[sdk_name] = sdk
|
||||||
|
|
||||||
if len(self.sdks) < 1 and len(sdk_list) and not use_none:
|
if len(self.sdks) < 1 and len(sdk_list) and not use_none:
|
||||||
raise Exception('No SDKs were found that build on {0}-{1}, nothing to do.'.format(
|
raise Exception('No applicable SDKs were found, nothing to do')
|
||||||
builder.target.platform, builder.target.arch))
|
|
||||||
|
|
||||||
for sdk in not_found:
|
for sdk in not_found:
|
||||||
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))
|
||||||
|
Loading…
Reference in New Issue
Block a user