Set build type to release

This commit is contained in:
2025-10-26 09:40:27 +02:00
parent 323d539163
commit 3a306fc6df
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DINSTALL_PUBLICBINDIR=usr/bin -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
cmake -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DINSTALL_PUBLICBINDIR=usr/bin -DCMAKE_MESSAGE_LOG_LEVEL=STATUS
cmake --build build
}