Commit b1bf4fe7 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Don't hide safe assert messages in release builds

Because otherwise krita will just seem to crash.
parent ef2f8ea8
......@@ -712,7 +712,7 @@ set CMDLINE_CMAKE_KRITA="%CMAKE_EXE%" "%KRITA_SRC_DIR%\." ^
-DHAVE_MEMORY_LEAK_TRACKER=OFF ^
-DFOUNDATION_BUILD=ON ^
-DUSE_QT_TABLET_WINDOWS=ON ^
-DHIDE_SAFE_ASSERTS=ON ^
-DHIDE_SAFE_ASSERTS=OFF ^
-Wno-dev ^
-G "MinGW Makefiles" ^
-DCMAKE_BUILD_TYPE=%CMAKE_BUILD_TYPE%
......
......@@ -42,7 +42,7 @@ cmake $KRITA_SOURCES \
-DDEFINE_NO_DEPRECATED=1 \
-DCMAKE_BUILD_TYPE=Release \
-DFOUNDATION_BUILD=1 \
-DHIDE_SAFE_ASSERTS=ON \
-DHIDE_SAFE_ASSERTS=OFF \
-DBUILD_TESTING=FALSE \
-DPYQT_SIP_DIR_OVERRIDE=$DEPS_INSTALL_PREFIX/share/sip/ \
-DHAVE_MEMORY_LEAK_TRACKER=FALSE
......
name: krita
version: 4.2.1
version: 4.2.2
summary: Krita is the digital painting studio for artists
description: Krita is a creative application for raster images. Whether you want to create
from scratch or work with existing images, Krita is for you. You can work with
......@@ -20,8 +20,9 @@ parts:
- "-DCMAKE_BUILD_TYPE=Release"
- "-DENABLE_TESTING=OFF"
- "-DBUILD_TESTING=OFF"
- "-DHIDE_SAFE_ASSERTS=OFF"
- "-DKDE_SKIP_TEST_SETTINGS=ON"
source: https://download.kde.org/stable/krita/4.2.1/krita-4.2.1.tar.xz
source: https://download.kde.org/stable/krita/4.2.2/krita-4.2.2.tar.xz
# Use these instead to build from the git source
# source: https://anongit.kde.org/krita.git
# source-type: git
......
......@@ -370,7 +370,7 @@ build_krita () {
-DCMAKE_INSTALL_PREFIX=${KIS_INSTALL_DIR} \
-DDEFINE_NO_DEPRECATED=1 \
-DBUILD_TESTING=OFF \
-DHIDE_SAFE_ASSERTS=ON \
-DHIDE_SAFE_ASSERTS=OFF \
-DKDE_INSTALL_BUNDLEDIR=${KIS_INSTALL_DIR}/bin \
-DPYQT_SIP_DIR_OVERRIDE=${KIS_INSTALL_DIR}/share/sip/ \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment