From 56b4a4a049a32926aa762d019f94391ef298a008 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 24 Jan 2020 14:53:34 +0100 Subject: [PATCH] Updated buil script --- build_teaspeak.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build_teaspeak.sh b/build_teaspeak.sh index 0fe513e..9aa0457 100755 --- a/build_teaspeak.sh +++ b/build_teaspeak.sh @@ -2,10 +2,11 @@ cd TeaSpeak if [ -d build ]; then rm -r build fi +_build_helper_dir="`pwd`/build-helpers" mkdir build && cd build echo "Build type: ${TEASPEAK_BUILD_TYPE}" -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 +cmake .. -DCMAKE_BUILD_TYPE="${TEASPEAK_BUILD_TYPE}" -DCMAKE_CXX_FLAGS=" ${CXX_FLAGS}" -DBUILD_INCLUDE_FILE="$_build_helper_dir"/cmake/config/tearoot-server.cmake -DCMAKE_MODULE_PATH="$_build_helper_dir"/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