From 654497cd4adedbe9a889ff0fc8b4f714365ecd41 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Tue, 18 Sep 2007 20:01:31 +0000 Subject: [PATCH] - Disable debug in libtorrent when qBittorrent is in release mode --- src/src.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/src.pro b/src/src.pro index 9e1733096..b7294d50b 100644 --- a/src/src.pro +++ b/src/src.pro @@ -24,6 +24,8 @@ contains(DEBUG_MODE, 1){ contains(DEBUG_MODE, 0){ CONFIG -= debug CONFIG += release + # For libtorrent stuff + DEFINES += NDEBUG message(Release build!) }