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
+2 -1
View File
@@ -1,7 +1,7 @@
name: qt6-tools
description: A cross-platform application and UI framework (Development Tools, QtHelp)
version: 6.10.0
revision: 1
revision: 2
url: https://www.qt.io/
license: FDL,GPL3,LGPL3,custom
architecture: any
@@ -20,6 +20,7 @@ make_depends:
- git
- llvm
- qt6-declarative
- vulkan-headers
downloads:
- url: https://code.qt.io/qt/qttools.git
type: git
+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
}