Skip to content

Commit

Permalink
remove remainder of custom tolua build
Browse files Browse the repository at this point in the history
  • Loading branch information
ennorehling committed Feb 16, 2021
1 parent b63d5e3 commit a17191e
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions s/cmake-init
Original file line number Diff line number Diff line change
Expand Up @@ -109,29 +109,6 @@ SET (CMAKE_LIBRARY_PATH "$LIBRARY_PATH" CACHE PATH "")
SET (CMAKE_PREFIX_PATH "$PREFIX_PATH" CACHE PATH "")
HEREDOC

path="$(which tolua)"
if [ "$HAVE_TOLUA" = "0" ] || [ -z $path ] ; then
echo "tolua is not installed, building from source"
cd $ROOT
if [ ! -d tolua/include ]; then
echo "fetching tolua from github..."
git clone https://github.com/ennorehling/tolua.git tolua
cd tolua
else
cd tolua
git pull --rebase
fi
echo "building tolua..."
make
cd -
cat >> $BUILD/config.cmake <<TOLUA
SET(PC_TOLUA_DIR "$ROOT/tolua" CACHE PATH "tolua root")
TOLUA
else
echo "tolua is $path"
fi
unset path

set -e

cd $BIN_DIR
Expand Down

0 comments on commit a17191e

Please sign in to comment.