From 5b2635867d5e17fdf01b61864d4f5ddb5433a94d Mon Sep 17 00:00:00 2001 From: Andrey Astafyev Date: Wed, 13 Mar 2019 20:11:48 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D1=8B=D0=B1=D0=BE=D1=80=20=D1=82=D0=B8?= =?UTF-8?q?=D0=BF=D0=B0=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8=20=D0=BF?= =?UTF-8?q?=D0=BE=20=D1=83=D0=BC=D0=BE=D0=BB=D1=87=D0=B0=D0=BD=D0=B8=D1=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cmake.sh | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/cmake.sh b/cmake.sh index a82fed4..452584b 100755 --- a/cmake.sh +++ b/cmake.sh @@ -181,8 +181,13 @@ export -f generate_configuration if [ "x$SINGLE_TYPE" != "xn" ]; then BUILD_TYPES=("${SINGLE_TYPE}") else - [ "x$QTCREATOR" == "xy" ] && BUILD_TYPES=("${QTCREATOR_BUILD_TYPES[@]}") - [ "x$CMAKE" == "xy" ] && BUILD_TYPES=("${CMAKE_BUILD_TYPES[@]}") + if [ "x$QTCREATOR" == "xy" ]; then + BUILD_TYPES=("${QTCREATOR_BUILD_TYPES[@]}") + elif [ "x$CMAKE" == "xy" ]; then + BUILD_TYPES=("${CMAKE_BUILD_TYPES[@]}") + else + BUILD_TYPES=("Release") + fi fi if [ ${#BUILD_TYPES[@]} -eq 0 ]; then