Skip to content

Commit 441e52c

Browse files
committed
fix the param name
1 parent abcd944 commit 441e52c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,8 @@ def main():
103103
"-DPYTHON%d_EXECUTABLE=%s" % (sys.version_info[0], sys.executable),
104104
"-DBUILD_opencv_python%d=ON" % sys.version_info[0],
105105
"-DOPENCV_SKIP_PYTHON_LOADER=ON",
106-
"-DOPENCV_PYTHON_INSTALL_PATH=python",
106+
"-DOPENCV_PYTHON2_INSTALL_PATH=python",
107+
"-DOPENCV_PYTHON3_INSTALL_PATH=python",
107108
# Otherwise, opencv scripts would want to install `.pyd' right into site-packages,
108109
# and skbuild bails out on seeing that
109110
"-DINSTALL_CREATE_DISTRIB=ON",

0 commit comments

Comments
 (0)