From ba1cc817018dada2345e5a0cda5d4ceab8bb05d2 Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 8 May 2014 14:56:53 +1000 Subject: [PATCH] Windows build fix. Mingw needs zlib, MSVC doesn't --- sleepyhead/sleepyhead.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro index 23475298..a87ab605 100644 --- a/sleepyhead/sleepyhead.pro +++ b/sleepyhead/sleepyhead.pro @@ -77,6 +77,9 @@ if (win32-msvc2008|win32-msvc2010|win32-msvc2012) { DEFINES += BUILD_WITH_MSVC=1 } +} else { + # MingW needs this + LIBS += -lz } #include(..3rdparty/qextserialport/src/qextserialport.pri)