We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e340f29 commit 7371ed5Copy full SHA for 7371ed5
examples/ios/build_rust_deps.sh
@@ -20,13 +20,9 @@ else
20
export LIBRARY_PATH="$LIBRARY_PATH:$(xcrun --show-sdk-path)/usr/lib"
21
fi
22
23
-# add path to cmake, needed on apple arm processors as it's not available by default
24
-if ! cmake --version; then
25
- # use the one installed from homebrew
26
- if /opt/homebrew/bin/cmake --version; then
27
- export PATH="$PATH:/opt/homebrew/bin"
28
- fi
29
-fi
+# add homebrew bin path, as it's the most commonly used package manager on macOS
+# this is needed for cmake on apple arm processors as it's not available by default
+export PATH="$PATH:/opt/homebrew/bin"
30
31
IS_SIMULATOR=0
32
if [ "${LLVM_TARGET_TRIPLE_SUFFIX-}" = "-simulator" ]; then
0 commit comments