restrict msbuild to win32 platform (#1172)
This commit is contained in:
parent
3b17db0d84
commit
3cea38bff7
@ -145,7 +145,7 @@ def build_libraries():
|
||||
else:
|
||||
has_msbuild = True
|
||||
|
||||
if has_msbuild:
|
||||
if has_msbuild and SYSTEM == 'win32':
|
||||
plat = 'Win32' if platform.architecture()[0] == '32bit' else 'x64'
|
||||
conf = 'Debug' if os.getenv('DEBUG', '') else 'Release'
|
||||
subprocess.call(['msbuild', '-m', '-p:Platform=' + plat, '-p:Configuration=' + conf], cwd=os.path.join(BUILD_DIR, 'msvc'))
|
||||
|
Loading…
Reference in New Issue
Block a user