From 617912f2769f9f505f1faa559d61a4a2f56662ce Mon Sep 17 00:00:00 2001 From: Mark Watkins Date: Thu, 10 Oct 2013 12:22:58 +1000 Subject: [PATCH] Linux build fix --- sleepyhead/sleepyhead.pro | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/sleepyhead/sleepyhead.pro b/sleepyhead/sleepyhead.pro index d8a94ecd..c33e0486 100644 --- a/sleepyhead/sleepyhead.pro +++ b/sleepyhead/sleepyhead.pro @@ -43,7 +43,10 @@ else:DEFINES += GIT_BRANCH=\\\"UNKNOWN\\\" exists(.git):DEFINES += GIT_REVISION=\\\"$$system(git rev-parse HEAD)\\\" else:DEFINES += GIT_REVISION=\\\"UNKNOWN\\\" -unix:!macx:LIBS += -lX11 -lz -lGLU +unix:!macx { + LIBS += -lX11 -lz -lGLU + DEFINES += _TTY_POSIX_ +} macx { LIBS += -lz @@ -226,10 +229,10 @@ use_bundled_libs { INCLUDEPATH += $$PWD/../3rdparty/quazip DEPENDPATH += $$PWD/../3rdparty/quazip } else { - INCLUDEPATH += /usr/include INCLUDEPATH += /usr/local/include - DEPENDPATH += /usr/include/quazip + INCLUDEPATH += /usr/include DEPENDPATH += /usr/local/include/quazip + DEPENDPATH += /usr/include/quazip } use_bundled_libs: {