Skip to content

Commit f45c370

Browse files
authored
Update setup.py
builds shared objects but not opencv_world.
1 parent 6b55cee commit f45c370

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

setup.py

Lines 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)