Browse Source

fix(build): add an option to compile with autotools toxcore on Windows

pull/4076/head
sudden6 9 years ago
parent
commit
482757e6a2
No known key found for this signature in database
GPG Key ID: 279509B499E032B9
  1. 18
      qtox.pro

18
qtox.pro

@ -97,6 +97,7 @@ contains(DISABLE_PLATFORM_EXT, YES) {
contains(JENKINS,YES) { contains(JENKINS,YES) {
INCLUDEPATH += ./libs/include/ INCLUDEPATH += ./libs/include/
TOX_CMAKE = YES
} else { } else {
INCLUDEPATH += libs/include INCLUDEPATH += libs/include
} }
@ -128,13 +129,6 @@ win32 {
-ltoxav \ -ltoxav \
-ltoxcore \ -ltoxcore \
-ltoxencryptsave \ -ltoxencryptsave \
-ltoxgroup \
-ltoxmessenger \
-ltoxfriends \
-ltoxnetcrypto \
-ltoxdht \
-ltoxnetwork \
-ltoxcrypto \
-lsodium \ -lsodium \
-lvpx \ -lvpx \
-lpthread \ -lpthread \
@ -158,6 +152,16 @@ win32 {
-lshlwapi \ -lshlwapi \
-luuid -luuid
LIBS += -lstrmiids # For DirectShow LIBS += -lstrmiids # For DirectShow
contains(TOX_CMAKE, YES) {
LIBS += -ltoxgroup \
-ltoxmessenger \
-ltoxfriends \
-ltoxnetcrypto \
-ltoxdht \
-ltoxnetwork \
-ltoxcrypto
}
} else { } else {
macx { macx {
BUNDLEID = chat.tox.qtox BUNDLEID = chat.tox.qtox

Loading…
Cancel
Save