8000 Use latest cmake for the main build, too, with better Python support · caogenwang/opencv-python@d4a5198 · GitHub
[go: up one dir, main page]

Sk 8000 ip to content

Commit d4a5198

Browse files
committed
Use latest cmake for the main build, too, with better Python support
1 parent d0dbb05 commit d4a5198

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

config.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,10 @@ function pre_build {
111111
brew_install_and_cache_within_time_limit ffmpeg_opencv || { [ $? -gt 1 ] && return 2 || return 0; }
112112
else
113113
brew install ffmpeg_opencv
114+
#cmake is a build dependency of ffmpeg so a bottle should be present in cache
115+
if (brew outdated | grep -qxF cmake) || ! (brew list | grep -qxF cmake); then
116+
_brew_install_and_cache cmake 1 0
117+
fi
114118
fi
115119

116120
if [ -n "$CACHE_STAGE" ]; then

0 commit comments

Comments
 (0)
0