Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1d6e034

Browse filesBrowse files
author
Andrey Senyaev
committed
Fixed an issue when machine:X86 was defined on Windows x64
1 parent 40e0e3b commit 1d6e034
Copy full SHA for 1d6e034

File tree

Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+6
-0
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+6Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,12 @@ def main():
151151
"-DBUILD_PERF_TESTS=OFF",
152152
"-DBUILD_DOCS=OFF",
153153
]
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+
)
154160
+ (
155161
["-DOPENCV_EXTRA_MODULES_PATH=" + os.path.abspath("opencv_contrib/modules")]
156162
if build_contrib

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.