8000 move flag again · chenhh0/opencv-python@6b6b8fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 6b6b8fe

Browse files
committed
move flag again
1 parent 5111fa4 commit 6b6b8fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ def main():
105105
# Otherwise, opencv scripts would want to install `.pyd' right into site-packages,
106106
# and skbuild bails out on seeing that
107107
"-DINSTALL_CREATE_DISTRIB=ON",
108+
"-DOPENCV_SKIP_PYTHON_LOADER=ON",
108109
# See opencv/CMakeLists.txt for options and defaults
109110
"-DBUILD_opencv_apps=OFF",
110111
"-DBUILD_SHARED_LIBS=OFF",
@@ -123,7 +124,6 @@ def main():
123124
cmake_args.append("-DWITH_QT=OFF")
124125

125126
if sys.platform.startswith('linux'):
126-
cmake_args.append("-DOPENCV_SKIP_PYTHON_LOADER=ON")
127127
cmake_args.append("-DWITH_V4L=ON")
128128
cmake_args.append("-DENABLE_PRECOMPILED_HEADERS=OFF")
129129

0 commit comments

Comments
 (0)
0