mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
fixes
* fix filestream read * fix transparent minimap
This commit is contained in:
@@ -36,20 +36,16 @@ fi
|
||||
gitdir=`pwd`
|
||||
revision=`git describe --dirty --always`
|
||||
|
||||
#rm -rf build
|
||||
if [ -d build ]; then
|
||||
cd build
|
||||
else
|
||||
mkdir -p build
|
||||
cd build
|
||||
rm -rf build
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$gitdir/src/framework/cmake/${platform}_toolchain.cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_REVISION=$revision \
|
||||
-DBOT_PROTECTION=OFF \
|
||||
-DPROTOCOL=$protocol \
|
||||
.. || exit
|
||||
fi
|
||||
cmake -DCMAKE_TOOLCHAIN_FILE=$gitdir/src/framework/cmake/${platform}_toolchain.cmake \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DBUILD_REVISION=$revision \
|
||||
-DBOT_PROTECTION=OFF \
|
||||
-DPROTOCOL=$protocol \
|
||||
.. || exit
|
||||
|
||||
make "-j${make_jobs}" || exit
|
||||
|
||||
|
Reference in New Issue
Block a user