From 5e35055379b21e6824480e994ee8b2629c8a8228 Mon Sep 17 00:00:00 2001 From: An Tao Date: Thu, 30 Jul 2020 16:27:35 +0800 Subject: [PATCH] Build release version in docker (#520) --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index bebfeb5d..d5b409c4 100755 --- a/build.sh +++ b/build.sh @@ -30,7 +30,7 @@ function build_drogon() { if [ $1 -eq 1 ]; then cmake .. -DBUILD_TESTING=YES $cmake_gen else - cmake .. $cmake_gen + cmake .. -DCMAKE_BUILD_TYPE=release $cmake_gen fi #If errors then exit