Skip to content

Commit 687017d

Browse files
committed
Additional solution for CRAN Mac
1 parent f5b4da1 commit 687017d

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

configure

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ if [ "$PKGCONFIG_CFLAGS" ] || [ "$PKGCONFIG_LIBS" ]; then
2323
PKG_CFLAGS=${PKGCONFIG_CFLAGS}
2424
PKG_LIBS=${PKGCONFIG_LIBS}
2525
elif [ "$(uname)" = "Darwin" ]; then
26-
USE_BUNDLED_LIBUV=true
26+
if [ `command -v cmake` ]; then
27+
USE_BUNDLED_LIBUV=true
28+
else
29+
curl -sfL "https://autobrew.github.io/scripts/$PKG_BREW_NAME" > autobrew
30+
. ./autobrew
31+
fi
2732
fi
2833

2934
# On LTS Linux servers we avoid the system dependency for now

0 commit comments

Comments
 (0)