Set build type to release
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: qt6-tools
|
name: qt6-tools
|
||||||
description: A cross-platform application and UI framework (Development Tools, QtHelp)
|
description: A cross-platform application and UI framework (Development Tools, QtHelp)
|
||||||
version: 6.10.0
|
version: 6.10.0
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://www.qt.io/
|
url: https://www.qt.io/
|
||||||
license: FDL,GPL3,LGPL3,custom
|
license: FDL,GPL3,LGPL3,custom
|
||||||
architecture: any
|
architecture: any
|
||||||
@@ -20,6 +20,7 @@ make_depends:
|
|||||||
- git
|
- git
|
||||||
- llvm
|
- llvm
|
||||||
- qt6-declarative
|
- qt6-declarative
|
||||||
|
- vulkan-headers
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://code.qt.io/qt/qttools.git
|
- url: https://code.qt.io/qt/qttools.git
|
||||||
type: git
|
type: git
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ prepare() {
|
|||||||
# The build function is executed in the source directory
|
# The build function is executed in the source directory
|
||||||
# This function is used to compile the source code
|
# This function is used to compile the source code
|
||||||
build() {
|
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
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user