Skip to content

Commit a3f1843

Browse files
committed
Python 3 executable
1 parent 2945f7f commit a3f1843

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ def main():
114114
)
115115
+ [
116116
# skbuild inserts PYTHON_* vars. That doesn't satisfy opencv build scripts in case of Py3
117-
"-DPYTHON_DEFAULT_EXECUTABLE=%s" % sys.executable,
117+
"-DPYTHON3_EXECUTABLE=%s" % sys.executable,
118118
"-DPYTHON3_INCLUDE_DIR=%s" % python_include_dir,
119119
"-DPYTHON3_LIBRARY=%s" % python_lib_path,
120120
"-DBUILD_opencv_python3=ON",

0 commit comments

Comments
 (0)