Build release version in docker (#520)

This commit is contained in:
An Tao 2020-07-30 16:27:35 +08:00 committed by GitHub
parent 34cefefce4
commit 5e35055379
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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