We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af65a62 commit 131a5f0Copy full SHA for 131a5f0
build_ios.sh
@@ -46,7 +46,7 @@ export LANG=en_US.UTF-8
46
47
# check options
48
IFS=',' # split options on ',' characters
49
-while getopts ":h:b:s:p:a:c" opt; do
+while getopts "hb:s:p:a:c:" opt; do
50
case $opt in
51
h)
52
usage
@@ -132,7 +132,7 @@ mkdir -p "$buildpath"
132
pushd "$buildpath"
133
134
# Configure cmake with option value
135
- cmake .. -DCMAKE_TOOLCHAIN_FILE=${sourcepath}/cmake/unity_ios.cmake -DCMAKE_OSX_ARCHITECTURES=$SUPPORTED_ARCHITECTURES ${CMAKE_OPTIONS} ${cmake_extra}
+ cmake ${sourcepath} -DCMAKE_TOOLCHAIN_FILE=${sourcepath}/cmake/unity_ios.cmake -DCMAKE_OSX_ARCHITECTURES=$SUPPORTED_ARCHITECTURES ${CMAKE_OPTIONS} ${cmake_extra}
136
check_exit_code $?
137
138
# Build the SDK
0 commit comments