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 f6e2eea commit b31049dCopy full SHA for b31049d
setup.py
@@ -110,8 +110,8 @@ def main():
110
if (sys.platform == 'darwin' or sys.platform.startswith('linux')) and not build_headless:
111
cmake_args.append("-DWITH_QT=4")
112
# Apply Qt namespace patches to OpenCV GUI code
113
- subprocess.check_call(["patch", "-p0", "<", "patches/patch1.patch"])
114
- subprocess.check_call(["patch", "-p0", "<", "patches/patch2.patch"])
+ subprocess.run("patch -p0 < patches/patch1.patch", shell=True, check=True)
+ subprocess.run("patch -p0 < patches/patch2.patch", shell=True, check=True)
115
116
if build_headless:
117
# it seems that cocoa cannot be disabled so on macOS the package is not truly headless
0 commit comments