Skip to content

Commit adebc7c

Browse files
committed
Do not force CMAKE_GENERATOR_PLATFORM on Windows x86_64.
1 parent 0ec125d commit adebc7c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

setup.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,6 @@ def main():
196196
"-DOPENCV_WORKAROUND_CMAKE_20989=ON",
197197
"-DCMAKE_SYSTEM_PROCESSOR=ARM64"]
198198
if platform.machine() == "ARM64" and sys.platform == "win32"
199-
# If it is not defined 'linker flags: /machine:X86' on Windows x64
200-
else ["-DCMAKE_GENERATOR_PLATFORM=x64"] if is64 and sys.platform == "win32"
201199
else []
202200
)
203201
+ (

0 commit comments

Comments
 (0)