[buildcore] Windows fixes
This commit is contained in:
2
deps/buildcore/scripts/setup-build.py
vendored
2
deps/buildcore/scripts/setup-build.py
vendored
@ -96,7 +96,7 @@ def main() -> int:
|
||||
cmake_cmd.append(build_tool)
|
||||
if qt_path != '':
|
||||
cmake_cmd.append(qt_path)
|
||||
if platform.system() == 'Windows':
|
||||
if platform.system() == 'Windows' and platform.system() == 'AMD64':
|
||||
cmake_cmd.append('-A x64')
|
||||
|
||||
cmake_err = subprocess.run(cmake_cmd).returncode
|
||||
|
4
deps/buildcore/scripts/util.py
vendored
4
deps/buildcore/scripts/util.py
vendored
@ -32,7 +32,7 @@ def get_os() -> str:
|
||||
|
||||
|
||||
def get_arch() -> str:
|
||||
arch = platform.machine()
|
||||
if arch.lower() == 'amd64':
|
||||
arch = platform.machine().lower()
|
||||
if arch == 'amd64':
|
||||
arch = 'x86_64'
|
||||
return arch
|
||||
|
Reference in New Issue
Block a user