changeset 59:56d50a5d9098

Add -Werror only in debug builds
author Chris Cannam
date Thu, 12 Dec 2019 16:53:35 +0000
parents c8c17e51aab0
children 87908a5d6c88
files helper.pro
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/helper.pro	Thu Apr 25 15:56:13 2019 +0100
+++ b/helper.pro	Thu Dec 12 16:53:35 2019 +0000
@@ -11,7 +11,7 @@
 macx*: CONFIG -= app_bundle
 
 !win32* {
-    QMAKE_CXXFLAGS += -Werror
+    QMAKE_CXXFLAGS_DEBUG += -Werror
 }
 
 linux* {