Skip to content

Commit 7d607d6

Browse files
committed
Fixed cmake not being detected on some mac versions
1 parent c95a294 commit 7d607d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ios/trigger_cmake.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
BUILD_DIR=../build_ios
33

44
# Configure the project with the right toolchain in the same folder as this file
5-
cmake -B $BUILD_DIR -G Xcode -DCMAKE_BUILD_TYPE=$CONFIGURATION -DCMAKE_TOOLCHAIN_FILE=$(dirname "$BASH_SOURCE")/ios.toolchain.cmake -DPLATFORM=OS64 -DENABLE_ARC=0 .. || exit 1
5+
/usr/bin/env cmake -B $BUILD_DIR -G Xcode -DCMAKE_BUILD_TYPE=$CONFIGURATION -DCMAKE_TOOLCHAIN_FILE=$(dirname "$BASH_SOURCE")/ios.toolchain.cmake -DPLATFORM=OS64 -DENABLE_ARC=0 .. || exit 1
66

77
# Build the project
8-
cmake --build $BUILD_DIR --target ALL_BUILD --config=$CONFIGURATION || exit 1
8+
/usr/bin/env cmake --build $BUILD_DIR --target ALL_BUILD --config=$CONFIGURATION || exit 1

0 commit comments

Comments
 (0)