From e5377891edeb6124109c8df61f88af7d7685bfe6 Mon Sep 17 00:00:00 2001 From: John Papale Date: Tue, 27 Oct 2020 19:05:53 +0100 Subject: [PATCH] Removed MSVC debug warning. --- OpenBoard.pro | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/OpenBoard.pro b/OpenBoard.pro index da285a9b..f36bf9fe 100644 --- a/OpenBoard.pro +++ b/OpenBoard.pro @@ -126,7 +126,11 @@ win32 { CONFIG += axcontainer exists(console):CONFIG += console QMAKE_CXXFLAGS += /MP - QMAKE_CXXFLAGS += /MD + CONFIG( debug, debug|release ) { + QMAKE_CXXFLAGS += /MDd + } else { + QMAKE_CXXFLAGS += /MD + } QMAKE_CXXFLAGS_RELEASE += /Od /Zi QMAKE_LFLAGS += /VERBOSE:LIB UB_LIBRARY.path = $$DESTDIR