diff --git a/options.pri b/options.pri index bde127d..04ee84a 100644 --- a/options.pri +++ b/options.pri @@ -1,2 +1,2 @@ QMAKE_CXXFLAGS += -isystem $$[QT_INSTALL_HEADERS] -QMAKE_CXXFLAGS_WARN_ON += -Wall -W -Wextra -Werror +CONFIG(debug, debug|release): QMAKE_CXXFLAGS_WARN_ON += -Wall -W -Wextra -Werror