NPOTB: Fix no SDK target exception (#1359)

This commit is contained in:
Headline 2020-11-07 13:14:58 -08:00 committed by GitHub
parent 9d49bbfaf0
commit 1cd0efad41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -219,7 +219,7 @@ class SMConfig(object):
builder.AddConfigureFile('pushbuild.txt')
if not set(self.target_archs).issubset(['x86', 'x86_64']):
raise Exception('Unknown target architecture: {0}'.format(builder.target.arch))
raise Exception('Unknown target architecture: {0}'.format(self.target_archs))
for cxx in self.all_targets:
self.configure_cxx(cxx)