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 f45c370

Browse filesBrowse files
authored
Update setup.py
builds shared objects but not opencv_world.
1 parent 6b55cee commit f45c370
Copy full SHA for f45c370

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎setup.py

Copy file name to clipboardExpand all lines: setup.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,11 @@ def main():
116116

117117
# See opencv/CMakeLists.txt for options and defaults
118118
"-DBUILD_opencv_apps=OFF",
119-
"-DBUILD_SHARED_LIBS=OFF",
119+
"-DBUILD_SHARED_LIBS=ON",
120120
"-DBUILD_TESTS=OFF",
121121
"-DBUILD_PERF_TESTS=OFF",
122-
"-DBUILD_DOCS=OFF"
122+
"-DBUILD_DOCS=OFF",
123+
"-DBUILD_opencv_world=OFF"
123124
] + (["-DOPENCV_EXTRA_MODULES_PATH=" + os.path.abspath("opencv_contrib/modules")] if build_contrib else [])
124125

125126
# OS-specific components

0 commit comments

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