From aa33b8bebc913f923f56c56ae6ac41c163e90125 Mon Sep 17 00:00:00 2001 From: Igor Kushnir Date: Wed, 1 Jun 2022 18:39:24 +0300 Subject: [PATCH] Disable assert macro checks in Release builds --- goldendict.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/goldendict.pro b/goldendict.pro index 5223e933..241745f6 100644 --- a/goldendict.pro +++ b/goldendict.pro @@ -22,6 +22,10 @@ isEmpty( hasGit ) { } } +CONFIG( release, debug|release ) { + DEFINES += NDEBUG +} + # DEPENDPATH += . generators INCLUDEPATH += .