Skip to content

Commit

Permalink
Merge pull request #20 from tcsabina/master
Browse files Browse the repository at this point in the history
Fixing typo
  • Loading branch information
tcsabina authored Sep 5, 2022
2 parents 68a0ef7 + e9e0e01 commit f4150f7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build_cmake.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Useful if you willing to stop on first error, also prints what is executed.
#set -ex

BUILDIR="${BUILDIR:-build}" # Default build dir.
BUILDDIR="${BUILDDIR:-build}" # Default build dir.

# Define target platforms, feel free to comment out if you does not require some of it,
# or you can call this script with plaforms list you willing to build on the command line.
Expand Down Expand Up @@ -34,12 +34,12 @@ G="${G:-}"
[ -z "${G}" ] && hash ninja >/dev/null 2>&1 && G="Ninja"
[ ! -z "${G}" ] && export CMAKE_GENERATOR="${G}"

rm -rf ${BUILDIR}
mkdir -p ${BUILDIR}
rm -rf ${BUILDDIR}
mkdir -p ${BUILDDIR}

# Build platforms one by one.
for name in "${PLATFORMS[@]}"; do
P="${BUILDIR}/$name"
P="${BUILDDIR}/$name"
mkdir -p "${P}"
case "${name}" in
* ) # Build native library.
Expand Down

0 comments on commit f4150f7

Please sign in to comment.