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 5111fa4 commit 6b6b8feCopy full SHA for 6b6b8fe
setup.py
@@ -105,6 +105,7 @@ def main():
105
# Otherwise, opencv scripts would want to install `.pyd' right into site-packages,
106
# and skbuild bails out on seeing that
107
"-DINSTALL_CREATE_DISTRIB=ON",
108
+ "-DOPENCV_SKIP_PYTHON_LOADER=ON",
109
# See opencv/CMakeLists.txt for options and defaults
110
"-DBUILD_opencv_apps=OFF",
111
"-DBUILD_SHARED_LIBS=OFF",
@@ -123,7 +124,6 @@ def main():
123
124
cmake_args.append("-DWITH_QT=OFF")
125
126
if sys.platform.startswith('linux'):
- cmake_args.append("-DOPENCV_SKIP_PYTHON_LOADER=ON")
127
cmake_args.append("-DWITH_V4L=ON")
128
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
129
0 commit comments