Updated buil script

This commit is contained in:
WolverinDEV 2020-01-24 14:52:26 +01:00
parent 52ed3f3be7
commit f605ca3741

View File

@ -5,7 +5,7 @@ fi
mkdir build && cd build
echo "Build type: ${TEASPEAK_BUILD_TYPE}"
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS} -I/usr/local/mysql/connector-c++-8.0/include/jdbc/ -I../../../libraries/boringssl/include/ -D_GLIBCXX_USE_CXX11_ABI=1" -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER
cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS}" -DBUILD_INCLUDE_FILE=`pwd`/build-helpers/cmake/config/tearoot-server.cmake -DCMAKE_MODULE_PATH=`pwd`/build-helpers/cmake/ -DDISABLE_QT=1 -DDISABLE_CUSTOM_OUTPUT=ON -DDISABLE_QT=ON $TEASPEAK_DEPLOY_TYPE_SPECIFIER
if [ $? -ne 0 ]; then
echo "Failed to run CMAKE project"
exit 1