From 482757e6a2ab74410f33fca364af1b69f2695ae4 Mon Sep 17 00:00:00 2001 From: sudden6 Date: Sun, 15 Jan 2017 11:09:47 +0100 Subject: [PATCH] fix(build): add an option to compile with autotools toxcore on Windows --- qtox.pro | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/qtox.pro b/qtox.pro index 62138c354..ed706007f 100644 --- a/qtox.pro +++ b/qtox.pro @@ -97,6 +97,7 @@ contains(DISABLE_PLATFORM_EXT, YES) { contains(JENKINS,YES) { INCLUDEPATH += ./libs/include/ + TOX_CMAKE = YES } else { INCLUDEPATH += libs/include } @@ -128,13 +129,6 @@ win32 { -ltoxav \ -ltoxcore \ -ltoxencryptsave \ - -ltoxgroup \ - -ltoxmessenger \ - -ltoxfriends \ - -ltoxnetcrypto \ - -ltoxdht \ - -ltoxnetwork \ - -ltoxcrypto \ -lsodium \ -lvpx \ -lpthread \ @@ -158,6 +152,16 @@ win32 { -lshlwapi \ -luuid LIBS += -lstrmiids # For DirectShow + + contains(TOX_CMAKE, YES) { + LIBS += -ltoxgroup \ + -ltoxmessenger \ + -ltoxfriends \ + -ltoxnetcrypto \ + -ltoxdht \ + -ltoxnetwork \ + -ltoxcrypto + } } else { macx { BUNDLEID = chat.tox.qtox