Build release version in docker (#520)
This commit is contained in:
parent
34cefefce4
commit
5e35055379
2
build.sh
2
build.sh
|
@ -30,7 +30,7 @@ function build_drogon() {
|
||||||
if [ $1 -eq 1 ]; then
|
if [ $1 -eq 1 ]; then
|
||||||
cmake .. -DBUILD_TESTING=YES $cmake_gen
|
cmake .. -DBUILD_TESTING=YES $cmake_gen
|
||||||
else
|
else
|
||||||
cmake .. $cmake_gen
|
cmake .. -DCMAKE_BUILD_TYPE=release $cmake_gen
|
||||||
fi
|
fi
|
||||||
|
|
||||||
#If errors then exit
|
#If errors then exit
|
||||||
|
|
Loading…
Reference in New Issue