From adebc7c11a01c610dd620cd75bfee52bd3408c26 Mon Sep 17 00:00:00 2001 From: Alexander Smorkalov Date: Thu, 29 Jun 2023 18:05:45 +0300 Subject: [PATCH] Do not force CMAKE_GENERATOR_PLATFORM on Windows x86_64. --- setup.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup.py b/setup.py index 5107e8ea..7a10c632 100644 --- a/setup.py +++ b/setup.py @@ -196,8 +196,6 @@ def main(): "-DOPENCV_WORKAROUND_CMAKE_20989=ON", "-DCMAKE_SYSTEM_PROCESSOR=ARM64"] if platform.machine() == "ARM64" and sys.platform == "win32" - # If it is not defined 'linker flags: /machine:X86' on Windows x64 - else ["-DCMAKE_GENERATOR_PLATFORM=x64"] if is64 and sys.platform == "win32" else [] ) + (