We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40e0e3b commit 1d6e034Copy full SHA for 1d6e034
setup.py
@@ -151,6 +151,12 @@ def main():
151
"-DBUILD_PERF_TESTS=OFF",
152
"-DBUILD_DOCS=OFF",
153
]
154
+ + (
155
+ # If it is not defined 'linker flags: /machine:X86' on Windows x64
156
+ ["-DCMAKE_GENERATOR_PLATFORM=x64"]
157
+ if x64 and sys.platform == "win32"
158
+ else []
159
+ )
160
+ (
161
["-DOPENCV_EXTRA_MODULES_PATH=" + os.path.abspath("opencv_contrib/modules")]
162
if build_contrib
0 commit comments