Skip to content

Commit 8e23e98

Browse files
native-apiskvark
authored andcommitted
Use latest cmake for the main build, too, with better Python support
1 parent df122a0 commit 8e23e98

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)